Updated Rector to commit 2ccf2dedae865100f20bd8fb649625cabb0e4ed3

2ccf2dedae Add basic validation for skipped path (#5628)
This commit is contained in:
Tomas Votruba 2024-02-16 22:00:46 +00:00
parent 95d40d3a99
commit 531af37084
2 changed files with 6 additions and 2 deletions

View File

@ -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
*/

View File

@ -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]);
}
/**