diff --git a/src/GrumPHP/Event/Subscriber/StashUnstagedChangesSubscriber.php b/src/GrumPHP/Event/Subscriber/StashUnstagedChangesSubscriber.php index 4e5db6848..043f5d932 100644 --- a/src/GrumPHP/Event/Subscriber/StashUnstagedChangesSubscriber.php +++ b/src/GrumPHP/Event/Subscriber/StashUnstagedChangesSubscriber.php @@ -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; }