From 1d8e22dd1221b2d329c1a5fcf9124e5567191bd9 Mon Sep 17 00:00:00 2001 From: Roberto Butti Date: Fri, 13 Sep 2024 08:16:58 +0200 Subject: [PATCH] rector rule update --- CHANGELOG.md | 3 +- composer.lock | 85 ++++++++++++++++++++++++++------------------------- rector.php | 2 +- 3 files changed, 46 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a187778..c93f3f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## 2.0.0 - 11th September 2024 +## 2.0.0 - 13th September 2024 - Upgrading to Pest3 and PHPunit 11(PHP Testing) - Dropping support for PHP 8.1 +- Updating Rector rules for PHP >= 8.2 ## 1.2.0 - 10th September 2024 - Embed images for EPUB diff --git a/composer.lock b/composer.lock index c63fedb..d60460f 100644 --- a/composer.lock +++ b/composer.lock @@ -526,16 +526,16 @@ }, { "name": "illuminate/collections", - "version": "v11.22.0", + "version": "v11.23.4", "source": { "type": "git", "url": "https://github.com/illuminate/collections.git", - "reference": "66d2c9bdf5641599735d402c1c504b54734a9cca" + "reference": "9845d4b4894f10cedd6635d3d06caead59151358" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/collections/zipball/66d2c9bdf5641599735d402c1c504b54734a9cca", - "reference": "66d2c9bdf5641599735d402c1c504b54734a9cca", + "url": "https://api.github.com/repos/illuminate/collections/zipball/9845d4b4894f10cedd6635d3d06caead59151358", + "reference": "9845d4b4894f10cedd6635d3d06caead59151358", "shasum": "" }, "require": { @@ -577,11 +577,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-23T18:49:36+00:00" + "time": "2024-09-11T20:37:13+00:00" }, { "name": "illuminate/conditionable", - "version": "v11.22.0", + "version": "v11.23.4", "source": { "type": "git", "url": "https://github.com/illuminate/conditionable.git", @@ -627,16 +627,16 @@ }, { "name": "illuminate/contracts", - "version": "v11.22.0", + "version": "v11.23.4", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "af9b459f195d57f279ec30a45446ddaeb3337bcb" + "reference": "272aad6ca259425d50b266218be5a7955a4c8af3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/af9b459f195d57f279ec30a45446ddaeb3337bcb", - "reference": "af9b459f195d57f279ec30a45446ddaeb3337bcb", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/272aad6ca259425d50b266218be5a7955a4c8af3", + "reference": "272aad6ca259425d50b266218be5a7955a4c8af3", "shasum": "" }, "require": { @@ -671,20 +671,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-08-21T16:02:16+00:00" + "time": "2024-09-11T20:06:38+00:00" }, { "name": "illuminate/filesystem", - "version": "v11.22.0", + "version": "v11.23.4", "source": { "type": "git", "url": "https://github.com/illuminate/filesystem.git", - "reference": "7e44057ac57635465c91c3fc6247c5d87bd1feed" + "reference": "87f93ffa6f1bcbe0dfd16ed97e3e1e537002c22d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/7e44057ac57635465c91c3fc6247c5d87bd1feed", - "reference": "7e44057ac57635465c91c3fc6247c5d87bd1feed", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/87f93ffa6f1bcbe0dfd16ed97e3e1e537002c22d", + "reference": "87f93ffa6f1bcbe0dfd16ed97e3e1e537002c22d", "shasum": "" }, "require": { @@ -738,11 +738,11 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-09-03T13:20:49+00:00" + "time": "2024-09-12T12:32:25+00:00" }, { "name": "illuminate/macroable", - "version": "v11.22.0", + "version": "v11.23.4", "source": { "type": "git", "url": "https://github.com/illuminate/macroable.git", @@ -788,16 +788,16 @@ }, { "name": "illuminate/support", - "version": "v11.22.0", + "version": "v11.23.4", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "51efc0516526413b4be641a1731d15d4394de2ff" + "reference": "207d700befc2feaf84cc01e48e18b8f4912531f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/51efc0516526413b4be641a1731d15d4394de2ff", - "reference": "51efc0516526413b4be641a1731d15d4394de2ff", + "url": "https://api.github.com/repos/illuminate/support/zipball/207d700befc2feaf84cc01e48e18b8f4912531f5", + "reference": "207d700befc2feaf84cc01e48e18b8f4912531f5", "shasum": "" }, "require": { @@ -821,6 +821,7 @@ }, "suggest": { "illuminate/filesystem": "Required to use the composer class (^11.0).", + "laravel/serializable-closure": "Required to use the once function (^1.3).", "league/commonmark": "Required to use Str::markdown() and Stringable::markdown() (^2.0.2).", "ramsey/uuid": "Required to use Str::uuid() (^4.7).", "symfony/process": "Required to use the composer class (^7.0).", @@ -858,7 +859,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-09-03T13:21:20+00:00" + "time": "2024-09-12T13:07:55+00:00" }, { "name": "league/commonmark", @@ -1923,16 +1924,16 @@ }, { "name": "psr/log", - "version": "3.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "79dff0b268932c640297f5208d6298f71855c03e" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/79dff0b268932c640297f5208d6298f71855c03e", - "reference": "79dff0b268932c640297f5208d6298f71855c03e", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -1967,9 +1968,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.1" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2024-08-21T13:31:24+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "psr/simple-cache", @@ -4130,16 +4131,16 @@ }, { "name": "pestphp/pest", - "version": "v3.0.4", + "version": "v3.0.6", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "47ce45de56aa18ef4a4f5e70fa384733d388ab2a" + "reference": "0d50d35b5eab4164b1e777e63f689be5cd8c40e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/47ce45de56aa18ef4a4f5e70fa384733d388ab2a", - "reference": "47ce45de56aa18ef4a4f5e70fa384733d388ab2a", + "url": "https://api.github.com/repos/pestphp/pest/zipball/0d50d35b5eab4164b1e777e63f689be5cd8c40e5", + "reference": "0d50d35b5eab4164b1e777e63f689be5cd8c40e5", "shasum": "" }, "require": { @@ -4225,7 +4226,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v3.0.4" + "source": "https://github.com/pestphp/pest/tree/v3.0.6" }, "funding": [ { @@ -4237,7 +4238,7 @@ "type": "github" } ], - "time": "2024-09-10T23:48:29+00:00" + "time": "2024-09-11T17:59:43+00:00" }, { "name": "pestphp/pest-plugin", @@ -5503,16 +5504,16 @@ }, { "name": "sebastian/comparator", - "version": "6.0.2", + "version": "6.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "450d8f237bd611c45b5acf0733ce43e6bb280f81" + "reference": "fa37b9e2ca618cb051d71b60120952ee8ca8b03d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/450d8f237bd611c45b5acf0733ce43e6bb280f81", - "reference": "450d8f237bd611c45b5acf0733ce43e6bb280f81", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa37b9e2ca618cb051d71b60120952ee8ca8b03d", + "reference": "fa37b9e2ca618cb051d71b60120952ee8ca8b03d", "shasum": "" }, "require": { @@ -5523,12 +5524,12 @@ "sebastian/exporter": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^11.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "6.1-dev" } }, "autoload": { @@ -5568,7 +5569,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/6.0.2" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.1.0" }, "funding": [ { @@ -5576,7 +5577,7 @@ "type": "github" } ], - "time": "2024-08-12T06:07:25+00:00" + "time": "2024-09-11T15:42:56+00:00" }, { "name": "sebastian/complexity", diff --git a/rector.php b/rector.php index e052333..61521eb 100644 --- a/rector.php +++ b/rector.php @@ -21,7 +21,7 @@ SetList::DEAD_CODE, SetList::EARLY_RETURN, SetList::TYPE_DECLARATION, - LevelSetList::UP_TO_PHP_81, + LevelSetList::UP_TO_PHP_82, SetList::CODING_STYLE, ]); };