Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jun 12, 2023
1 parent 556e2f2 commit 69689c7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scoper.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,15 @@

// fix autoconfigure instanceof child to non child class magic conversion
static function (string $filePath, string $prefix, string $content): string {
if (! \str_ends_with($filePath, 'vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php')) {
if (! \str_ends_with(
$filePath,
'vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php'
)) {
return $content;
}

$content = str_replace('\'53\'', "'72'", $content);
return str_replace(", 44,", ", 63, ", $content);
return str_replace(', 44,', ', 63, ', $content);
},

// fix symfony deprecation reports, @see https://github.com/rectorphp/rector/issues/7434
Expand Down

0 comments on commit 69689c7

Please sign in to comment.