Skip to content

Commit

Permalink
Merge pull request #246 from veewee/bugfix-core-errors
Browse files Browse the repository at this point in the history
Fix failing phpspec due to php startup warnings
  • Loading branch information
veewee authored Dec 18, 2016
2 parents 05acf2d + 1e442d1 commit 0a1c13d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private function registerShutdownHandler()
}

// Don't fail on non-blcoking errors!
if (in_array($error['type'], [E_DEPRECATED, E_USER_DEPRECATED])) {
if (in_array($error['type'], [E_DEPRECATED, E_USER_DEPRECATED, E_CORE_WARNING, E_CORE_ERROR])) {
return;
}

Expand Down

0 comments on commit 0a1c13d

Please sign in to comment.