mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
Merge pull request #3232 from RiKap/patch-1
Compiler: Fix invalid changes in config/set neon files
This commit is contained in:
commit
112025d049
@ -112,7 +112,10 @@ return [
|
|||||||
if (strpos($filePath, '.neon') === false) {
|
if (strpos($filePath, '.neon') === false) {
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
// @see https://github.com/rectorphp/rector/issues/3227
|
||||||
|
if (strpos($filePath, 'config/set/') !== 0) {
|
||||||
|
return $content;
|
||||||
|
}
|
||||||
if ($content === '') {
|
if ($content === '') {
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user