Skip to content

Commit

Permalink
Ensured a consistent default error reporting level for PHP 5.4 and 5.5
Browse files Browse the repository at this point in the history
E_ALL includes E_STRICT as of PHP 5.5 but it was not the case in PHP 5.3
and 5.4. The default value for the error reporting now includes E_STRICT
for all versions to be consistent.
  • Loading branch information
stof committed Apr 6, 2014
1 parent 84daaf5 commit a448e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Behat/Testwork/Call/ServiceContainer/CallExtension.php
Expand Up @@ -74,7 +74,7 @@ public function configure(ArrayNodeDefinition $builder)
$builder
->addDefaultsIfNotSet()
->children()
->scalarNode('error_reporting')->defaultValue(E_ALL)
->scalarNode('error_reporting')->defaultValue(E_ALL | E_STRICT)
->end()
;
}
Expand Down

0 comments on commit a448e4e

Please sign in to comment.