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 Oct 29, 2024
1 parent 3bb1117 commit 02c83bd
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 @@ -65,7 +65,6 @@
"symfony/css-selector": "7.1.6",
"symfony/debug-bundle": "7.1.6",
"symfony/maker-bundle": "1.61.0",
"symfony/phpunit-bridge": "7.1.6",
"symfony/stopwatch": "7.1.6",
"symfony/var-dumper": "7.1.6",
"symfony/web-profiler-bundle": "7.1.6",
Expand Down Expand Up @@ -113,24 +112,24 @@
"cs-fix": "php-cs-fixer fix",
"test": [
"Composer\\Config::disableProcessTimeout",
"bin/phpunit -d memory_limit=-1"
"vendor/bin/phpunit -d memory_limit=-1 -c phpunit.xml.dist tests"
],
"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 02c83bd

Please sign in to comment.