diff --git a/src/Analyze.php b/src/Analyze.php index e4a3f26..8f382f4 100644 --- a/src/Analyze.php +++ b/src/Analyze.php @@ -190,13 +190,13 @@ protected function detectWarnings() if (version_compare($laravelVersion, '5.7', '>=')) { if ( - preg_match('/@?{{(\s*((?!}}).?)*\s*)or\s*.+?\s*}}(\r?\n)?/s', $this->code) || - preg_match('/@?{{{(\s*((?!}}}).?)*\s*)or\s*.+?\s*}}}(\r?\n)?/s', $this->code) || - preg_match('/@?{\!\!(\s*((?!\!\!}).?)*\s*)or\s*.+?\s*\!\!}(\r?\n)?/s', $this->code) + preg_match('/@?{{(((?!}})(?