Skip to content

Commit

Permalink
api: remove symfony/phpunit-bridge
Browse files Browse the repository at this point in the history
The support for phpunit 11 seems to not arrive.
And we can manage without and currently don't use mocked clocks etc.
The demo app got rid of it in
api-platform/demo@3480b78#diff-8aa8879d5af30688928afd6bc3241a30d93a6f7f0e615243667b82d1852ecf5d
  • Loading branch information
BacLuc committed Jan 14, 2025
1 parent af18ab6 commit 04327e2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 133 deletions.
6 changes: 0 additions & 6 deletions api/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
###> friendsofphp/php-cs-fixer ###
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###

###> symfony/phpunit-bridge ###
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###

###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###
Expand Down
23 changes: 0 additions & 23 deletions api/bin/phpunit

This file was deleted.

11 changes: 5 additions & 6 deletions api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
"symfony/css-selector": "7.2.0",
"symfony/debug-bundle": "7.2.0",
"symfony/maker-bundle": "1.62.0",
"symfony/phpunit-bridge": "7.2.0",
"symfony/stopwatch": "7.2.2",
"symfony/var-dumper": "7.2.0",
"symfony/web-profiler-bundle": "7.2.2"
Expand Down Expand Up @@ -113,24 +112,24 @@
"cs-fix": "php-cs-fixer fix",
"test": [
"Composer\\Config::disableProcessTimeout",
"bin/phpunit -d memory_limit=-1 -c phpunit.xml.dist"
"vendor/bin/phpunit -d memory_limit=-1 -c phpunit.xml.dist"
],
"paratest": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/paratest --passthru-php=\"-d memory_limit=-1\""
],
"update-snapshots": [
"Composer\\Config::disableProcessTimeout",
"bin/phpunit -d memory_limit=-1 -d --update-snapshots tests/Api/SnapshotTests",
"bin/phpunit -d memory_limit=-1 -d --update-snapshots tests/Util/ArrayDeepSortTest.php"
"vendor/bin/phpunit -d memory_limit=-1 -d --update-snapshots tests/Api/SnapshotTests",
"vendor/bin/phpunit -d memory_limit=-1 -d --update-snapshots tests/Util/ArrayDeepSortTest.php"
],
"performance_test": [
"Composer\\Config::disableProcessTimeout",
"bin/phpunit -d memory_limit=-1 -c phpunit.performance_test.xml.dist"
"vendor/bin/phpunit -d memory_limit=-1 -c phpunit.performance_test.xml.dist"
],
"performance_test_update-snapshots": [
"Composer\\Config::disableProcessTimeout",
"bin/phpunit -d memory_limit=-1 -d --update-snapshots -c phpunit.performance_test.xml.dist"
"vendor/bin/phpunit -d memory_limit=-1 -d --update-snapshots -c phpunit.performance_test.xml.dist"
],
"auto-scripts": {
"cache:clear": "symfony-cmd",
Expand Down
84 changes: 1 addition & 83 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions api/symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -652,21 +652,6 @@
"symfony/password-hasher": {
"version": "v5.3.3"
},
"symfony/phpunit-bridge": {
"version": "6.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "6.3",
"ref": "1f5830c331065b6e4c9d5fa2105e322d29fcd573"
},
"files": [
".env.test",
"bin/phpunit",
"phpunit.xml.dist",
"tests/bootstrap.php"
]
},
"symfony/polyfill-intl-idn": {
"version": "v1.23.0"
},
Expand Down

0 comments on commit 04327e2

Please sign in to comment.