Skip to content

Commit

Permalink
[Scoper] Fix scoper to fix prefixed regex on doctrine inflector take 3
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jan 6, 2025
1 parent 3b42813 commit 75683c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 75683c6

Please sign in to comment.