mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Updated Rector to commit 2ccf2dedae865100f20bd8fb649625cabb0e4ed3
2ccf2dedae
Add basic validation for skipped path (#5628)
This commit is contained in:
parent
95d40d3a99
commit
531af37084
@ -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
|
||||
*/
|
||||
|
@ -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]);
|
||||
}
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user