From: Raphaƫl Gertz Date: Thu, 16 Oct 2025 15:34:31 +0000 (+0200) Subject: Update phpunit recipe X-Git-Tag: 0.0.1~2 X-Git-Url: https://git.rapsys.eu/blog/commitdiff_plain/57a8c66893ad2a606b498ae1851a190d8b52e82d?ds=sidebyside Update phpunit recipe --- diff --git a/.env.test b/.env.test index 9e7162f..24a43c0 100644 --- a/.env.test +++ b/.env.test @@ -2,5 +2,3 @@ KERNEL_CLASS='App\Kernel' APP_SECRET='$ecretf0rt3st' SYMFONY_DEPRECATIONS_HELPER=999999 -PANTHER_APP_ENV=panther -PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots diff --git a/.gitignore b/.gitignore index de562d7..8b98b6e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,7 @@ ###> phpunit/phpunit ### /phpunit.xml -.phpunit.result.cache +/.phpunit.cache/ ###< phpunit/phpunit ### ###> symfony/phpunit-bridge ### diff --git a/phpunit.xml.dist b/phpunit.xml.dist index c76a655..0b31da2 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -5,16 +5,16 @@ xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" backupGlobals="false" colors="true" + failOnNotice="true" + failOnWarning="true" bootstrap="tests/bootstrap.php" - convertDeprecationsToExceptions="false" + cacheDirectory=".phpunit.cache" > - - @@ -23,15 +23,11 @@ - + - src + src - - - - - + diff --git a/symfony.lock b/symfony.lock index cb93055..49bf241 100644 --- a/symfony.lock +++ b/symfony.lock @@ -48,12 +48,12 @@ ] }, "phpunit/phpunit": { - "version": "9.6", + "version": "10.5", "recipe": { "repo": "github.com/symfony/recipes", "branch": "main", - "version": "9.6", - "ref": "7364a21d87e658eb363c5020c072ecfdc12e2326" + "version": "10.0", + "ref": "bb22cf8d8c554a623b427d5f3416b538f5525233" }, "files": [ ".env.test",