Skip to content

Commit bbaeb8a

Browse files
committed
minor #1799 do not silence error logs (xabbuh)
This PR was merged into the 2.3-dev branch. Discussion ---------- do not silence error logs The change done in #1797 had the disadvantage that it silenced all log entries. Using the `SHELL_VERBOSITY` env var allows to define a level for which log entries should still be shown. Commits ------- 3c142db do not silence error logs
2 parents 8756ddc + 3c142db commit bbaeb8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
imports:
22
- { resource: framework.yml }
3-
4-
services:
5-
logger:
6-
class: Psr\Log\NullLogger

phpunit.xml.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<phpunit bootstrap="./vendor/autoload.php" colors="true">
4+
<php>
5+
<env name="SHELL_VERBOSITY" value="-1" />
6+
</php>
7+
48
<testsuites>
59
<testsuite name="FOSRestBundle test suite">
610
<directory suffix="Test.php">./Tests</directory>

0 commit comments

Comments
 (0)