Skip to content

Commit b8b91d4

Browse files
committed
chore(phpunit): remove dependency on symfony/phpunit-bridge
symfony/phpunit-bridge is not longer needed for symfony tests
1 parent 226e346 commit b8b91d4

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
],
2828
"scripts": {
29-
"test": "./vendor/bin/simple-phpunit",
29+
"test": "./vendor/bin/phpunit",
3030
"phpstan": "php -d memory_limit=256M ./vendor/bin/phpstan",
3131
"cs-fix": "./vendor/bin/php-cs-fixer fix",
3232
"cs-check": "./vendor/bin/php-cs-fixer fix --dry-run --diff"
@@ -51,7 +51,7 @@
5151
"symfony/framework-bundle": "^8.0",
5252
"symfony/http-client": "^8.0",
5353
"symfony/monolog-bundle": "^3.1",
54-
"symfony/phpunit-bridge": "^5.4 | ^6.4 | ^7.4 | ^8.0",
54+
"phpunit/phpunit": "^10.0",
5555
"symfony/yaml": "^8.0"
5656
},
5757
"autoload": {

phpunit.xml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
44
bootstrap="tests/bootstrap.php"
55
executionOrder="depends,defects"
6-
forceCoversAnnotation="true"
7-
beStrictAboutCoversAnnotation="true"
86
beStrictAboutOutputDuringTests="true"
9-
beStrictAboutTodoAnnotatedTests="true"
10-
convertDeprecationsToExceptions="false"
117
failOnRisky="true"
12-
cacheResultFile="./var/.phpunit.result.cache"
13-
verbose="true">
8+
cacheDirectory="./var/.phpunit.cache">
149
<testsuites>
1510
<testsuite name="default">
1611
<directory>tests</directory>
@@ -26,7 +21,6 @@
2621
<env name="KERNEL_CLASS" value="Mews\PosBundle\Tests\Kernel\Kernel"/>
2722
<env name="APP_ENV" value="test"/>
2823
<env name="APP_DEBUG" value="1"/>
29-
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
3024
</php>
3125

3226
<!-- <coverage cacheDirectory="var/code-coverage"-->

0 commit comments

Comments
 (0)