From 95d40d3a99989a4ace2f9ab035ad387fef70a0a1 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 16 Feb 2024 19:08:11 +0000 Subject: [PATCH] Updated Rector to commit f347c7301fcfcb4cda2b61bb4b359ed01cee7070 https://github.com/rectorphp/rector-src/commit/f347c7301fcfcb4cda2b61bb4b359ed01cee7070 Add method RectorConfigBuilder::withSkipPath() (#5626) --- src/Application/VersionResolver.php | 4 ++-- src/Configuration/RectorConfigBuilder.php | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 6f7ce527e15..37dad1c4429 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 = '7cd56d864dc52f88416c47845239ad897467a003'; + public const PACKAGE_VERSION = 'f347c7301fcfcb4cda2b61bb4b359ed01cee7070'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-02-16 17:35:56'; + public const RELEASE_DATE = '2024-02-16 20:05:42'; /** * @var int */ diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index d00447e1305..5d2fc9dbcb5 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -249,6 +249,10 @@ final class RectorConfigBuilder $this->skip = \array_merge($this->skip, $skip); return $this; } + public function withSkipPath(string $skipPath) : self + { + return $this->withSkip([$skipPath]); + } /** * Include PHP files from the root directory, * typically ecs.php, rector.php etc.