From a5995b464afc206749ce60db801d187db2ac78d5 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Sun, 21 Jan 2024 17:48:09 -0300 Subject: [PATCH 1/2] chore: upgrade rector dependency to 0.19.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e5604e5..715c036 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "larastan/larastan": "^2.7", "phpstan/phpstan": "^1.10.47", "phpstan/phpstan-mockery": "^1.1.1", - "rector/rector": "^0.18.12", + "rector/rector": "^0.19.02", "slevomat/coding-standard": "^8.14.1", "spaze/phpstan-disallowed-calls": "^2.16", "symplify/easy-coding-standard": "^12.0.12", From 38479e044e014d6d87f337bc77dd639ecc49ab18 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Mon, 22 Jan 2024 09:18:32 +0000 Subject: [PATCH 2/2] chore(deps-dev): update namespace for `Rector\Core` --- src/Rector/Generic/DisallowedAttributesRector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Rector/Generic/DisallowedAttributesRector.php b/src/Rector/Generic/DisallowedAttributesRector.php index 7e5d29e..4b338b5 100644 --- a/src/Rector/Generic/DisallowedAttributesRector.php +++ b/src/Rector/Generic/DisallowedAttributesRector.php @@ -4,8 +4,8 @@ use PhpParser\Node; use PhpParser\NodeTraverser; -use Rector\Core\Contract\Rector\ConfigurableRectorInterface; -use Rector\Core\Rector\AbstractRector; +use Rector\Contract\Rector\ConfigurableRectorInterface; +use Rector\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;