Skip to content

Commit e3738ce

Browse files
authored
Merge pull request #2 from orbeji/symfony_6_4
Compatibility with Symfony 6.4
2 parents ad1c297 + 3267955 commit e3738ce

File tree

3 files changed

+27
-33
lines changed

3 files changed

+27
-33
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

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"composer-runtime-api": "^2.2",
2020
"mashape/unirest-php": "^3.0.4",
2121
"ptlis/diff-parser": "^1.1.0",
22-
"symfony/console": "^5.4.46",
22+
"symfony/console": "^6.4",
2323
"symfony/polyfill-php83": "^1.31",
2424
"symfony/polyfill-uuid": "^1.31.0"
2525
},
@@ -30,8 +30,8 @@
3030
"roave/security-advisories": "dev-latest",
3131
"rregeer/phpunit-coverage-check": "^0.3.1",
3232
"squizlabs/php_codesniffer": "^3.10.3",
33-
"symfony/framework-bundle": "^5.4.45",
34-
"symfony/var-dumper": "^5.4.46",
33+
"symfony/framework-bundle": "^6.4",
34+
"symfony/var-dumper": "^6.4",
3535
"webmozart/assert": "^1.11.0"
3636
},
3737
"autoload": {

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)