File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 33declare (strict_types=1 );
44
55use Rector \CodeQuality \Rector \Array_ \CallableThisArrayToAnonymousFunctionRector ;
6- use Rector \CodeQuality \Rector \If_ \ExplicitBoolCompareRector ;
76use Rector \CodingStyle \Rector \ClassMethod \UnSpreadOperatorRector ;
87use Rector \Core \Configuration \Option ;
98use Rector \Core \ValueObject \PhpVersion ;
3130
3231 $ parameters ->set (Option::SKIP , [
3332 CallableThisArrayToAnonymousFunctionRector::class,
34- ExplicitBoolCompareRector::class,
3533 UnSpreadOperatorRector::class,
3634 ]);
3735};
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ private static function isUncaught(array $error): bool
6262 public function phpFatalErrorHandler (string $ buffer ): string
6363 {
6464 $ error = error_get_last ();
65- if (! $ error ) {
65+ if ($ error === null ) {
6666 return $ buffer ;
6767 }
6868
@@ -74,7 +74,7 @@ public function phpFatalErrorHandler(string $buffer): string
7474 public function execOnShutdown (): void
7575 {
7676 $ error = error_get_last ();
77- if (! $ error ) {
77+ if ($ error === null ) {
7878 return ;
7979 }
8080
You can’t perform that action at this time.
0 commit comments