From 17f27db9859e6e103dffd040c4153f67409ddf73 Mon Sep 17 00:00:00 2001 From: Elisea Cornejo Date: Thu, 7 Apr 2022 10:10:12 +0200 Subject: [PATCH 1/3] AC-2724: Update rector dependency to the latest version --- composer.json | 2 +- composer.lock | 18 +++++++++--------- rector.php | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 3369e514..525ce99e 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "ext-dom": "*", "phpcompatibility/php-compatibility": "^9.3", "squizlabs/php_codesniffer": "^3.6.1", - "rector/rector": ">=0.12.4 <=0.12.16" + "rector/rector": "^0.12.4" }, "require-dev": { "phpunit/phpunit": "^9.5.8" diff --git a/composer.lock b/composer.lock index 020fbaa6..b6a05896 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a99a1a61cd8522f9c564620fb2142113", + "content-hash": "92914ebd924e2b13e3884ccb974a0185", "packages": [ { "name": "phpcompatibility/php-compatibility", @@ -129,21 +129,21 @@ }, { "name": "rector/rector", - "version": "0.12.16", + "version": "0.12.20", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "13412efd0dfda2e2c310dd24397281804441cf7a" + "reference": "cfa8d3e236a6e1a41d69712a84d434dfdf70e560" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/13412efd0dfda2e2c310dd24397281804441cf7a", - "reference": "13412efd0dfda2e2c310dd24397281804441cf7a", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/cfa8d3e236a6e1a41d69712a84d434dfdf70e560", + "reference": "cfa8d3e236a6e1a41d69712a84d434dfdf70e560", "shasum": "" }, "require": { - "php": "^7.1|^8.0", - "phpstan/phpstan": "^1.4.2" + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.5" }, "conflict": { "phpstan/phpdoc-parser": "<1.2", @@ -177,7 +177,7 @@ "description": "Instant Upgrade and Automated Refactoring of any PHP code", "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.12.16" + "source": "https://github.com/rectorphp/rector/tree/0.12.20" }, "funding": [ { @@ -185,7 +185,7 @@ "type": "github" } ], - "time": "2022-02-09T14:50:55+00:00" + "time": "2022-04-06T12:55:14+00:00" }, { "name": "squizlabs/php_codesniffer", diff --git a/rector.php b/rector.php index 559d5b54..afe7adc8 100644 --- a/rector.php +++ b/rector.php @@ -8,7 +8,7 @@ use Rector\Core\ValueObject\PhpVersion; use Rector\Php80\Rector\Class_\StringableForToStringRector; use Rector\Php80\Rector\ClassMethod\FinalPrivateToPrivateVisibilityRector; -use Rector\Php80\Rector\ClassMethod\OptionalParametersAfterRequiredRector; +use Rector\CodeQuality\Rector\ClassMethod\OptionalParametersAfterRequiredRector; use Rector\Php80\Rector\ClassMethod\SetStateToStaticRector; use Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector; use Magento2\Rector\Src\ReplacePregSplitNullLimit; From 418f970d3a611230454ee6cb60129ef444cbded1 Mon Sep 17 00:00:00 2001 From: Elisea Cornejo Date: Thu, 7 Apr 2022 16:34:12 +0200 Subject: [PATCH 2/3] AC-2724: Update rector dependency to the latest version --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 525ce99e..e54d07f5 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "ext-dom": "*", "phpcompatibility/php-compatibility": "^9.3", "squizlabs/php_codesniffer": "^3.6.1", - "rector/rector": "^0.12.4" + "rector/rector": "^0.12.17" }, "require-dev": { "phpunit/phpunit": "^9.5.8" From ab1aa3c87bc5c1e0c8460d15715661068abdf241 Mon Sep 17 00:00:00 2001 From: Elisea Cornejo Date: Thu, 7 Apr 2022 16:57:57 +0200 Subject: [PATCH 3/3] AC-2724: Update rector dependency to the latest version --- composer.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index b6a05896..3742d05c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "92914ebd924e2b13e3884ccb974a0185", + "content-hash": "f7fc6bebe57a5ad3379a7192ac17047e", "packages": [ { "name": "phpcompatibility/php-compatibility",