Skip to content

Commit

Permalink
Merge pull request #16 from cs278/fix-phpunit-bridge
Browse files Browse the repository at this point in the history
Allow deprecation notice from PHPUnit bridge
  • Loading branch information
cs278 authored Jul 27, 2021
2 parents c7ae144 + f8098be commit d6d3327
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@

<php>
<ini name="zend.assertions" value="1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="baselineFile=tests/allowed.json" />
</php>
</phpunit>
7 changes: 7 additions & 0 deletions tests/allowed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"location": "Composer\\Autoload\\ClassLoader::loadClass",
"message": "Since symfony/phpunit-bridge 5.3: The \"Symfony\\Bridge\\PhpUnit\\SetUpTearDownTrait\" trait is deprecated, use original methods with \"void\" return typehint.",
"count": 1
}
]

0 comments on commit d6d3327

Please sign in to comment.