Skip to content

Commit 8102c4b

Browse files
committed
Enabling Symfony test listener to see deprecations
1 parent de47f36 commit 8102c4b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
"phpunit/phpunit": "^7.5.1",
3737
"phpstan/phpstan": "^0.12.25",
3838
"beberlei/porpaginas": "^1.2",
39-
"php-coveralls/php-coveralls": "^2.1.0"
39+
"php-coveralls/php-coveralls": "^2.1.0",
40+
"symfony/phpunit-bridge": "^5.1"
4041
},
4142
"scripts": {
4243
"phpstan": "phpstan analyse GraphqliteBundle.php DependencyInjection/ Controller/ Resources/ Security/ -c phpstan.neon --level=7 --no-progress"

phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,8 @@
3333
<log type="coverage-html" target="build/coverage"/>
3434
<log type="coverage-clover" target="build/logs/clover.xml"/>
3535
</logging>
36+
37+
<listeners>
38+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
39+
</listeners>
3640
</phpunit>

0 commit comments

Comments
 (0)