Skip to content

Commit 9f8e531

Browse files
committed
Fixed PHPUnit Warning
1 parent a7c1046 commit 9f8e531

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ matrix:
2626
env: SYMFONY_VERSION="3.4.*" DEPENDENCIES=dev
2727
- php: 7.0
2828
- php: 7.1
29+
# There is a bug in PHPUnit 5.7
30+
env: SYMFONY_PHPUNIT_VERSION=6.5
2931
- php: 7.2
3032
- php: 7.3
3133
# Test against dev versions

Tests/DependencyInjection/Compiler/LoggerChannelPassTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ public function testChannelsConfigurationOptionSupportsAppChannel()
140140

141141
$container->setParameter('monolog.additional_channels', array('app'));
142142
$container->compile();
143+
144+
// the test ensures that the validation does not fail (i.e. it does not throw any exceptions)
145+
$this->addToAssertionCount(1);
143146
}
144147

145148
private function getContainer()

0 commit comments

Comments
 (0)