mirror of https://github.com/rectorphp/rector.git
scope only for symfony
This commit is contained in:
parent
49bde94ec1
commit
ff1d2a7848
|
@ -116,7 +116,7 @@ return [
|
|||
// unprefixed ContainerConfigurator
|
||||
function (string $filePath, string $prefix, string $content): string {
|
||||
// keep vendor prefixed the prefixed file loading; not part of public API
|
||||
if (str_contains($filePath, 'vendor') || ! str_contains($filePath, 'config')) {
|
||||
if (str_contains($filePath, 'vendor/symfony')) {
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue