diff --git a/scoper.php b/scoper.php index b3d4a5e270..39a1ead71a 100644 --- a/scoper.php +++ b/scoper.php @@ -133,7 +133,7 @@ static function (string $filePath, string $prefix, string $content): string { // unprefix regex content on doctrine inflector static function (string $filePath, string $prefix, string $content): string { - if (\str_contains($filePath, 'vendor/doctrine/inflector')) { + if (! \str_contains($filePath, 'vendor/doctrine/inflector')) { return $content; }