From dfdb7143c088d6c9a068074b2062613e61a2ffb5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Dec 2022 02:01:23 +0000 Subject: [PATCH 1/2] Update rector/rector requirement from ^0.14.3 to ^0.15.1 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.14.3...0.15.1) --- 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 c2dea04..ec61a8a 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "require-dev": { "php-mock/php-mock-phpunit": "^2.6", "phpunit/phpunit": "^9.5", - "rector/rector": "^0.14.3", + "rector/rector": "^0.15.1", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.18", From b655b159d499658466d2c38f2b9ba912853aa63c Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Sun, 18 Dec 2022 19:43:30 +0300 Subject: [PATCH 2/2] fix --- tests/FileCacheTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FileCacheTest.php b/tests/FileCacheTest.php index de6b69e..c793003 100644 --- a/tests/FileCacheTest.php +++ b/tests/FileCacheTest.php @@ -313,11 +313,11 @@ public function iterableProvider(): array ['a' => 1, 'b' => 2,], ['a' => 1, 'b' => 2,], ], - \ArrayIterator::class => [ + 'ArrayIterator' => [ ['a' => 1, 'b' => 2,], new ArrayIterator(['a' => 1, 'b' => 2,]), ], - \IteratorAggregate::class => [ + 'IteratorAggregate' => [ ['a' => 1, 'b' => 2,], new class () implements IteratorAggregate { public function getIterator(): ArrayIterator