From 17e976d7627e3ec41fe299d41bcf4adfac861812 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 03:26:40 +0000 Subject: [PATCH 1/4] Update rector/rector requirement from ^0.17.0 to ^0.18.3 Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/0.17.0...0.18.3) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f62160e..8b399bb 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require-dev": { "maglnet/composer-require-checker": "^4.2", "phpunit/phpunit": "^9.5", - "rector/rector": "^0.17.0", + "rector/rector": "^0.18.3", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.8" From be733263239992b01d1f611dbe843b0c4f743677 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 13 Sep 2023 08:25:28 +0300 Subject: [PATCH 2/4] fix --- .github/workflows/rector.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index adacd73..b5a5649 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -14,6 +14,8 @@ name: rector jobs: rector: uses: yiisoft/actions/.github/workflows/rector.yml@master + secrets: + token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} with: os: >- ['ubuntu-latest'] From 50c3243d376a33ff70521fd167bb161c292c7f5d Mon Sep 17 00:00:00 2001 From: vjik Date: Wed, 13 Sep 2023 05:26:28 +0000 Subject: [PATCH 3/4] Apply Rector changes (CI) --- src/Provider/ListenerCollection.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Provider/ListenerCollection.php b/src/Provider/ListenerCollection.php index 8522f28..9ed6ebb 100644 --- a/src/Provider/ListenerCollection.php +++ b/src/Provider/ListenerCollection.php @@ -49,8 +49,6 @@ public function getForEvents(string ...$eventClassNames): iterable * * Any callable could be used be it a closure, invokable object or array referencing a class or object. * - * @param callable $listener - * @param string ...$eventClassNames * * @throws InvalidArgumentException If callable is invalid. */ From ba6c893ec42c668dfc1f8fece0aafb39877bb676 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 13 Sep 2023 05:26:46 +0000 Subject: [PATCH 4/4] Apply fixes from StyleCI --- src/Provider/ListenerCollection.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Provider/ListenerCollection.php b/src/Provider/ListenerCollection.php index 9ed6ebb..c0189e3 100644 --- a/src/Provider/ListenerCollection.php +++ b/src/Provider/ListenerCollection.php @@ -49,7 +49,6 @@ public function getForEvents(string ...$eventClassNames): iterable * * Any callable could be used be it a closure, invokable object or array referencing a class or object. * - * * @throws InvalidArgumentException If callable is invalid. */ public function add(callable $listener, string ...$eventClassNames): self