Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Commit bb0a8a4

Browse files
committed
Add Composer dev package "symfony/phpunit-bridge" to enable deprecation notices for tests
1 parent a5fb916 commit bb0a8a4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66

77
### Added
88

9+
* Added Composer dev package "symfony/phpunit-bridge" to enable deprecation notices for tests
910
* Added strict typing
1011

1112
### Changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
},
2020
"require-dev": {
2121
"friendsofphp/php-cs-fixer": "^2.0",
22-
"phpunit/phpunit": "^6.2"
22+
"phpunit/phpunit": "^6.2",
23+
"symfony/phpunit-bridge": "^4.2"
2324
},
2425
"autoload": {
2526
"psr-4": {

phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@
1717
</exclude>
1818
</whitelist>
1919
</filter>
20+
21+
<listeners>
22+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
23+
</listeners>
2024
</phpunit>

0 commit comments

Comments
 (0)