diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 224275a0e27..64ef0b5b023 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = 'fa88e970e6317d59586339c8fdce086050ca3b61'; + public const PACKAGE_VERSION = '967e983203f45c47ca154df85d47f08f54b5cafb'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-12-15 00:27:19'; + public const RELEASE_DATE = '2024-12-15 19:15:41'; /** * @var int */ diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index f93018db790..1d08a817d8c 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -265,8 +265,8 @@ final class RectorConfigBuilder return $this->withSkip([$skipPath]); } /** - * Include PHP files from the root directory, - * typically ecs.php, rector.php etc. + * Include PHP files from the root directory (including hidden ones), + * typically ecs.php, rector.php, .php-cs-fixer.dist.php etc. */ public function withRootFiles() : self { @@ -298,7 +298,7 @@ final class RectorConfigBuilder return \realpath($string); }, $gitIgnoreContents); } - $rootPhpFilesFinder = (new Finder())->files()->in(\getcwd())->depth(0)->name('*.php'); + $rootPhpFilesFinder = (new Finder())->files()->in(\getcwd())->depth(0)->ignoreDotFiles(\false)->name('*.php')->name('.*.php'); foreach ($rootPhpFilesFinder as $rootPhpFileFinder) { $path = $rootPhpFileFinder->getRealPath(); if (\in_array($path, $gitIgnoreContents, \true)) {