Merge pull request #3232 from RiKap/patch-1

Compiler: Fix invalid changes in config/set neon files
This commit is contained in:
Tomas Votruba 2020-04-23 19:35:55 +02:00 committed by GitHub
commit 112025d049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,10 @@ return [
if (strpos($filePath, '.neon') === false) {
return $content;
}
// @see https://github.com/rectorphp/rector/issues/3227
if (strpos($filePath, 'config/set/') !== 0) {
return $content;
}
if ($content === '') {
return $content;
}