diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 37dad1c4429..7aab85b2daf 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 = 'f347c7301fcfcb4cda2b61bb4b359ed01cee7070'; + public const PACKAGE_VERSION = '2ccf2dedae865100f20bd8fb649625cabb0e4ed3'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-02-16 20:05:42'; + public const RELEASE_DATE = '2024-02-16 22:58:25'; /** * @var int */ diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index 5d2fc9dbcb5..9dfbe908f40 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -23,6 +23,7 @@ use Rector\Symfony\Set\SensiolabsSetList; use Rector\Symfony\Set\SymfonySetList; use Rector\ValueObject\PhpVersion; use RectorPrefix202402\Symfony\Component\Finder\Finder; +use RectorPrefix202402\Webmozart\Assert\Assert; /** * @api */ @@ -251,6 +252,9 @@ final class RectorConfigBuilder } public function withSkipPath(string $skipPath) : self { + if (\strpos($skipPath, '*') === \false) { + Assert::fileExists($skipPath); + } return $this->withSkip([$skipPath]); } /**