Updated Rector to commit 3e2e579e4753ac559fa1c075ea51b1c5df86532e

3e2e579e47 📦 Ignore `.phpstorm.meta.php` because this is not PHP file (#6594)
This commit is contained in:
Tomas Votruba 2024-12-16 11:39:13 +00:00
parent 0dbd7f432e
commit 7bf0acdccc
2 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '967e983203f45c47ca154df85d47f08f54b5cafb';
public const PACKAGE_VERSION = '3e2e579e4753ac559fa1c075ea51b1c5df86532e';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-12-15 19:15:41';
public const RELEASE_DATE = '2024-12-16 18:36:47';
/**
* @var int
*/

View File

@ -298,7 +298,7 @@ final class RectorConfigBuilder
return \realpath($string);
}, $gitIgnoreContents);
}
$rootPhpFilesFinder = (new Finder())->files()->in(\getcwd())->depth(0)->ignoreDotFiles(\false)->name('*.php')->name('.*.php');
$rootPhpFilesFinder = (new Finder())->files()->in(\getcwd())->depth(0)->ignoreDotFiles(\false)->name('*.php')->name('.*.php')->notName('.phpstorm.meta.php');
foreach ($rootPhpFilesFinder as $rootPhpFileFinder) {
$path = $rootPhpFileFinder->getRealPath();
if (\in_array($path, $gitIgnoreContents, \true)) {