Skip to content

Commit b8f9b02

Browse files
committed
Drop Symfony PHPUnit bridge for PHPUnit
1 parent ab44abf commit b8f9b02

40 files changed

+43
-75
lines changed

.github/workflows/test-turbo.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ jobs:
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
@@ -93,8 +89,4 @@ jobs:
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

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124

125125
- name: ${{ matrix.component }} Tests
126126
working-directory: "src/${{ matrix.component }}"
127-
run: vendor/bin/simple-phpunit
127+
run: vendor/bin/phpunit
128128

129129
tests-js:
130130
runs-on: ubuntu-latest

src/Autocomplete/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
"doctrine/orm": "^2.9.4|^3.0",
3838
"fakerphp/faker": "^1.22",
3939
"mtdowling/jmespath.php": "^2.6",
40+
"phpunit/phpunit": "^10.5",
4041
"symfony/form": "^6.3|^7.0",
4142
"symfony/options-resolver": "^6.3|^7.0",
4243
"symfony/framework-bundle": "^6.3|^7.0",
4344
"symfony/maker-bundle": "^1.40",
44-
"symfony/phpunit-bridge": "^6.3|^7.0",
4545
"symfony/process": "^6.3|^7.0",
4646
"symfony/security-bundle": "^6.3|^7.0",
4747
"symfony/twig-bundle": "^6.3|^7.0",

src/Autocomplete/phpunit.xml.dist

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="vendor/bin/.phpunit/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
66
colors="true"
77
bootstrap="vendor/autoload.php"
88
failOnRisky="true"
@@ -27,8 +27,4 @@
2727
<directory suffix=".php">./src</directory>
2828
</whitelist>
2929
</filter>
30-
31-
<listeners>
32-
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
33-
</listeners>
3430
</phpunit>

src/Chartjs/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"require-dev": {
3838
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
39-
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
39+
"phpunit/phpunit": "^10.5",
4040
"symfony/twig-bundle": "^5.4|^6.0|^7.0",
4141
"symfony/var-dumper": "^5.4|^6.0|^7.0"
4242
},

src/Chartjs/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
66
backupGlobals="false"
77
colors="true"
88
bootstrap="vendor/autoload.php"

src/Cropperjs/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"require-dev": {
4141
"symfony/expression-language": "^5.4|^6.0|^7.0",
4242
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
43-
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
43+
"phpunit/phpunit": "^10.5",
4444
"symfony/twig-bundle": "^5.4|^6.0|^7.0",
4545
"symfony/var-dumper": "^5.4|^6.0|^7.0",
4646
"twig/twig": "^2.14.7|^3.0.4"

src/Cropperjs/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
66
backupGlobals="false"
77
colors="true"
88
bootstrap="vendor/autoload.php"

src/Dropzone/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"require-dev": {
3939
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
40-
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
40+
"phpunit/phpunit": "^10.5",
4141
"symfony/twig-bundle": "^5.4|^6.0|^7.0",
4242
"symfony/var-dumper": "^5.4|^6.0|^7.0",
4343
"twig/twig": "^2.14.7|^3.0.4"

src/Dropzone/phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
44
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
5+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
66
backupGlobals="false"
77
colors="true"
88
bootstrap="vendor/autoload.php"

0 commit comments

Comments
 (0)