Skip to content

Commit c91d0e0

Browse files
committed
start migration to symfony 6.4 compatibility
1 parent ad1c297 commit c91d0e0

File tree

2 files changed

+24
-30
lines changed

2 files changed

+24
-30
lines changed

.github/workflows/compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
operating-system: [ 'ubuntu-22.04' ]
1515
php: [ '8.3' ]
16-
symfony: [ '5.4.*']
16+
symfony: [ '6.4.*']
1717

1818
steps:
1919
- uses: actions/checkout@v4

phpunit.xml.dist

Lines changed: 23 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
3-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
bootstrap="vendor/autoload.php"
5-
backupGlobals="false"
6-
colors="true"
7-
processIsolation="false"
8-
stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
9-
<php>
10-
<ini name="display_errors" value="1"/>
11-
<ini name="error_reporting" value="-1"/>
12-
<server name="APP_ENV" value="test" force="true"/>
13-
<server name="SHELL_VERBOSITY" value="-1"/>
14-
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
15-
<server name="SYMFONY_PHPUNIT_VERSION" value="9.6"/>
16-
17-
<!-- ###+ symfony/framework-bundle ### -->
18-
<env name="APP_ENV" value="dev"/>
19-
<env name="APP_SECRET" value="a87958dcb2134d448a20e881478d1826"/>
20-
<!-- ###- symfony/framework-bundle ### -->
21-
</php>
22-
<testsuites>
23-
<testsuite name="Project Test Suite">
24-
<directory suffix="Test.php">tests</directory>
25-
</testsuite>
26-
</testsuites>
27-
<coverage>
28-
<include>
29-
<directory suffix=".php">src</directory>
30-
</include>
31-
</coverage>
3+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
4+
<php>
5+
<ini name="display_errors" value="1"/>
6+
<ini name="error_reporting" value="-1"/>
7+
<server name="APP_ENV" value="test" force="true"/>
8+
<server name="SHELL_VERBOSITY" value="-1"/>
9+
<server name="SYMFONY_PHPUNIT_REMOVE" value=""/>
10+
<server name="SYMFONY_PHPUNIT_VERSION" value="9.6"/>
11+
<!-- ###+ symfony/framework-bundle ### -->
12+
<env name="APP_ENV" value="dev"/>
13+
<env name="APP_SECRET" value="a87958dcb2134d448a20e881478d1826"/>
14+
<!-- ###- symfony/framework-bundle ### -->
15+
</php>
16+
<testsuites>
17+
<testsuite name="Project Test Suite">
18+
<directory suffix="Test.php">tests</directory>
19+
</testsuite>
20+
</testsuites>
21+
<source>
22+
<include>
23+
<directory suffix=".php">src</directory>
24+
</include>
25+
</source>
3226
</phpunit>

0 commit comments

Comments
 (0)