From 74893be0f4f182a8e0c67b115db983df063537e8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 11 Jan 2024 07:55:25 +0000 Subject: [PATCH 1/2] Update Composer dev tooling dependencies --- composer.json | 4 ++-- composer.lock | 26 +++++++++++++------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index 8ede0325..d5f13424 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ "require-dev": { "ergebnis/composer-normalize": "^2.41.1", "php-cs-fixer/shim": "^3.46.0", - "phpstan/phpstan": "^1.10.54", + "phpstan/phpstan": "^1.10.55", "phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-phpunit": "^1.3.15", "phpstan/phpstan-strict-rules": "^1.5.2", "phpunit/phpunit": "^10.5.5", - "rector/rector": "^0.18.13", + "rector/rector": "^0.19.0", "symfony/filesystem": "^6.2" }, "autoload": { diff --git a/composer.lock b/composer.lock index 5f72eb9a..1acdd41d 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": "59409221041db4a8ef9579d75c07e378", + "content-hash": "57351c61b2a37a772a1ab5172ebae1b6", "packages": [ { "name": "psr/container", @@ -1605,16 +1605,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.54", + "version": "1.10.55", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "3e25f279dada0adc14ffd7bad09af2e2fc3523bb" + "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3e25f279dada0adc14ffd7bad09af2e2fc3523bb", - "reference": "3e25f279dada0adc14ffd7bad09af2e2fc3523bb", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", + "reference": "9a88f9d18ddf4cf54c922fbeac16c4cb164c5949", "shasum": "" }, "require": { @@ -1663,7 +1663,7 @@ "type": "tidelift" } ], - "time": "2024-01-05T15:50:47+00:00" + "time": "2024-01-08T12:32:40+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -2238,21 +2238,21 @@ }, { "name": "rector/rector", - "version": "0.18.13", + "version": "0.19.0", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618" + "reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/f8011a76d36aa4f839f60f3b4f97707d97176618", - "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/503f4ead06b3892bd106f67f3c86d4e36c94423d", + "reference": "503f4ead06b3892bd106f67f3c86d4e36c94423d", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.35" + "phpstan/phpstan": "^1.10.52" }, "conflict": { "rector/rector-doctrine": "*", @@ -2282,7 +2282,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.18.13" + "source": "https://github.com/rectorphp/rector/tree/0.19.0" }, "funding": [ { @@ -2290,7 +2290,7 @@ "type": "github" } ], - "time": "2023-12-20T16:08:01+00:00" + "time": "2024-01-09T00:49:06+00:00" }, { "name": "sebastian/cli-parser", From 2ac48628d6e1be824943021346967299646df517 Mon Sep 17 00:00:00 2001 From: Marcin Michalski Date: Thu, 11 Jan 2024 07:58:20 +0000 Subject: [PATCH 2/2] Fix rector config --- rector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rector.php b/rector.php index 5076ae6e..4a1f02f7 100644 --- a/rector.php +++ b/rector.php @@ -4,11 +4,11 @@ use Rector\CodeQuality\Rector\Identical\FlipTypeControlToUseExclusiveTypeRector; use Rector\Config\RectorConfig; -use Rector\Core\ValueObject\PhpVersion; use Rector\PHPUnit\Set\PHPUnitLevelSetList; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; use Rector\Symfony\Set\SymfonyLevelSetList; +use Rector\ValueObject\PhpVersion; return static function (RectorConfig $rector): void { $rector->parallel();