From 75683c61d795d1ed94a0ce98551e41a534de112b Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 6 Jan 2025 23:22:20 +0700 Subject: [PATCH] [Scoper] Fix scoper to fix prefixed regex on doctrine inflector take 3 --- scoper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }