Skip to content

Commit

Permalink
minor #5383 DX: fail PHPUnit tests on warning (kubawerlos)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 2.17 branch.

Discussion
----------

DX: fail PHPUnit tests on warning

Commits
-------

bf9b02c DX: fail PHPUnit tests on warning
  • Loading branch information
keradus committed Dec 23, 2020
2 parents 1250a10 + bf9b02c commit da8c26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
enforceTimeLimit="true"
failOnWarning="true"
processIsolation="false"
stopOnFailure="false"
timeoutForSmallTests="2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function provideFixCases()
];

if (\PHP_VERSION_ID < 80000) {
yield 'call by variable' => [
yield 'call by variable (PHP < 8.0)' => [
'<?php
$a{"b"}{"c"}(1, 2);
',
Expand Down

0 comments on commit da8c26f

Please sign in to comment.