mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-15 05:15:04 +01:00
slash escape
This commit is contained in:
parent
176258ce5c
commit
61d9704afd
@ -77,8 +77,9 @@ return [
|
||||
return $content;
|
||||
}
|
||||
|
||||
// @see https://regex101.com/r/gLefQk/1
|
||||
return Strings::replace(
|
||||
$content, '#\(\'rector/rector\'\)#',
|
||||
$content, '#\(\'rector\/rector\'\)#',
|
||||
"('rector/rector-prefixed')"
|
||||
);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user