File tree Expand file tree Collapse file tree 9 files changed +59
-53
lines changed Expand file tree Collapse file tree 9 files changed +59
-53
lines changed Original file line number Diff line number Diff line change 2828 with :
2929 working-directory : src/Turbo
3030
31- - name : Install PHPUnit dependencies
32- working-directory : src/Turbo
33- run : vendor/bin/simple-phpunit --version
34-
3531 - name : PHPStan
3632 working-directory : src/Turbo
3733 run : vendor/bin/phpstan analyse --no-progress
9389
9490 - name : Run tests
9591 working-directory : src/Turbo
96- run : |
97- [ 'lowest' = '${{ matrix.dependency-version }}' ] && export SYMFONY_DEPRECATIONS_HELPER=weak
98- vendor/bin/simple-phpunit
99- env :
100- SYMFONY_DEPRECATIONS_HELPER : ' max[self]=1'
92+ run : vendor/bin/phpunit
Original file line number Diff line number Diff line change @@ -124,7 +124,14 @@ jobs:
124124
125125 - name : ${{ matrix.component }} Tests
126126 working-directory : " src/${{ matrix.component }}"
127- run : vendor/bin/simple-phpunit
127+ env :
128+ PHP_VERSION : " ${{ matrix.php-version }}"
129+ run : |
130+ if [[ "$PHP_VERSION" == "8.1" ]]; then
131+ vendor/bin/simple-phpunit
132+ else
133+ vendor/bin/phpunit
134+ fi
128135
129136 tests-js :
130137 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 3636 "symfony/stimulus-bundle" : " ^2.18.1"
3737 },
3838 "require-dev" : {
39+ "phpunit/phpunit" : " ^12.0" ,
3940 "symfony/asset-mapper" : " ^6.4|^7.0" ,
4041 "symfony/framework-bundle" : " ^6.4|^7.0" ,
41- "symfony/phpunit-bridge" : " ^6.4|^7.0 " ,
42+ "symfony/phpunit-bridge" : " ^7.2 " ,
4243 "symfony/twig-bundle" : " ^6.4|^7.0" ,
4344 "symfony/ux-twig-component" : " ^2.18" ,
4445 "symfony/ux-icons" : " ^2.18"
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
22<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
3- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : noNamespaceSchemaLocation =" vendor/bin/.phpunit/phpunit.xsd"
5- colors =" true"
6- bootstrap =" vendor/autoload.php"
7- failOnRisky =" true"
8- failOnWarning =" true"
3+ <phpunit
4+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
6+ colors =" true"
7+ bootstrap =" vendor/autoload.php"
8+ failOnRisky =" true"
9+ failOnWarning =" true"
10+ displayDetailsOnTestsThatTriggerWarnings =" true"
911>
10- <coverage processUncoveredFiles = " true " >
12+ <source >
1113 <include >
12- <directory suffix = " .php " >./src</directory >
14+ <directory >./src</directory >
1315 </include >
14- </coverage >
15-
16+ </source >
17+
1618 <php >
17- <ini name =" error_reporting" value =" -1" />
18- <server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
19+ <ini name =" error_reporting" value =" -1" />
20+ <server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
1921 </php >
2022
2123 <testsuites >
Original file line number Diff line number Diff line change 2121 "symfony/ux-map" : " ^2.19"
2222 },
2323 "require-dev" : {
24- "symfony /phpunit-bridge " : " ^6.4|^7 .0" ,
24+ "phpunit /phpunit" : " ^12 .0" ,
2525 "symfony/ux-icons" : " ^2.18"
2626 },
2727 "autoload" : {
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
22<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
3- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : noNamespaceSchemaLocation =" vendor/bin/.phpunit/phpunit.xsd"
5- colors =" true"
6- bootstrap =" vendor/autoload.php"
7- failOnRisky =" true"
8- failOnWarning =" true"
3+ <phpunit
4+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
6+ colors =" true"
7+ bootstrap =" vendor/autoload.php"
8+ failOnRisky =" true"
9+ failOnWarning =" true"
10+ displayDetailsOnTestsThatTriggerWarnings =" true"
911>
10- <coverage processUncoveredFiles = " true " >
12+ <source >
1113 <include >
12- <directory suffix = " .php " >./src</directory >
14+ <directory >./src</directory >
1315 </include >
14- </coverage >
15-
16+ </source >
17+
1618 <php >
17- <ini name =" error_reporting" value =" -1" />
18- <server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
19+ <ini name =" error_reporting" value =" -1" />
20+ <server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
1921 </php >
2022
2123 <testsuites >
Original file line number Diff line number Diff line change 2121 "symfony/ux-map" : " ^2.19"
2222 },
2323 "require-dev" : {
24- "symfony /phpunit-bridge " : " ^6.4|^7 .0" ,
24+ "phpunit /phpunit" : " ^12 .0" ,
2525 "symfony/ux-icons" : " ^2.18"
2626 },
2727 "autoload" : {
Original file line number Diff line number Diff line change 1- <?xml version =" 1.0" encoding =" UTF-8" ?>
1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
22<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
3- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4- xsi : noNamespaceSchemaLocation =" vendor/bin/.phpunit/phpunit.xsd"
5- colors =" true"
6- bootstrap =" vendor/autoload.php"
7- failOnRisky =" true"
8- failOnWarning =" true"
3+ <phpunit
4+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : noNamespaceSchemaLocation =" vendor/phpunit/phpunit/phpunit.xsd"
6+ colors =" true"
7+ bootstrap =" vendor/autoload.php"
8+ failOnRisky =" true"
9+ failOnWarning =" true"
10+ displayDetailsOnTestsThatTriggerWarnings =" true"
911>
10- <coverage processUncoveredFiles = " true " >
12+ <source >
1113 <include >
12- <directory suffix = " .php " >./src</directory >
14+ <directory >./src</directory >
1315 </include >
14- </coverage >
15-
16+ </source >
17+
1618 <php >
17- <ini name =" error_reporting" value =" -1" />
18- <server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
19+ <ini name =" error_reporting" value =" -1" />
20+ <server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
1921 </php >
2022
2123 <testsuites >
Original file line number Diff line number Diff line change 7070 "symfony/css-selector" : " 7.2.*" ,
7171 "symfony/debug-bundle" : " 7.2.*" ,
7272 "symfony/maker-bundle" : " ^1.61" ,
73- "symfony/phpunit-bridge" : " 7.2.* " ,
73+ "symfony/phpunit-bridge" : " ^ 7.2" ,
7474 "symfony/stopwatch" : " 7.2.*" ,
7575 "symfony/web-profiler-bundle" : " 7.2.*" ,
7676 "vincentlanglet/twig-cs-fixer" : " 3.1.*" ,
You can’t perform that action at this time.
0 commit comments