Skip to content

Commit

Permalink
Merge pull request #478 from greg0ire/phpunit-11
Browse files Browse the repository at this point in the history
Upgrade to PHPUnit 11
  • Loading branch information
greg0ire authored Dec 1, 2024
2 parents 347d92d + 105ff1d commit 8fb5791
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"require-dev": {
"doctrine/coding-standard": "^12",
"phpstan/phpstan": "^2",
"phpunit/phpunit": "^9.6.13",
"symfony/phpunit-bridge": "^6.3.6"
"phpunit/phpunit": "^10.5.38 || ^11"
},
"conflict": {
"doctrine/dbal": "< 3"
Expand Down
22 changes: 14 additions & 8 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit colors="true" bootstrap="vendor/autoload.php">
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
displayDetailsOnTestsThatTriggerDeprecations="true"
>
<testsuites>
<testsuite name="DoctrineFixturesBundle for the Symfony Framework">
<directory>./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>

<source ignoreSuppressionOfDeprecations="true">
<include>
<directory>src</directory>
</whitelist>
</filter>
</include>
</source>

<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
<php>
<server name="DOCTRINE_DEPRECATIONS" value="trigger"/>
</php>
</phpunit>

0 comments on commit 8fb5791

Please sign in to comment.