diff --git a/composer.json b/composer.json index 997ef775..484157b7 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "phpbench/phpbench": "^1.4.1", "phpunit/phpunit": "^10.5.26", "psalm/plugin-phpunit": "~0.19.0", - "rector/rector": "~0.18.13", + "rector/rector": "~2.2.5", "vimeo/psalm": "^5.25.0" }, "autoload": { diff --git a/composer.lock b/composer.lock index 145b9847..01ff99a0 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": "09a8280de0eec2573ecc44898e0084ec", + "content-hash": "216195a31c30a84b76ac411cc8cbe482", "packages": [], "packages-dev": [ { @@ -3238,20 +3238,15 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.50", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" - }, + "version": "2.1.31", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ead89849d879fe203ce9292c6ef5e7e76f867b96", + "reference": "ead89849d879fe203ce9292c6ef5e7e76f867b96", "shasum": "" }, "require": { - "php": "^7.2|^8.0" + "php": "^7.4|^8.0" }, "conflict": { "phpstan/phpstan-shim": "*" @@ -3290,13 +3285,9 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2023-12-13T10:59:42+00:00" + "time": "2025-10-10T14:14:11+00:00" }, { "name": "phpunit/php-code-coverage", @@ -4510,21 +4501,21 @@ }, { "name": "rector/rector", - "version": "0.18.13", + "version": "2.2.5", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618" + "reference": "fb9418af7777dfb1c87a536dc58398b5b07c74b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/f8011a76d36aa4f839f60f3b4f97707d97176618", - "reference": "f8011a76d36aa4f839f60f3b4f97707d97176618", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/fb9418af7777dfb1c87a536dc58398b5b07c74b9", + "reference": "fb9418af7777dfb1c87a536dc58398b5b07c74b9", "shasum": "" }, "require": { - "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.35" + "php": "^7.4|^8.0", + "phpstan/phpstan": "^2.1.26" }, "conflict": { "rector/rector-doctrine": "*", @@ -4532,6 +4523,9 @@ "rector/rector-phpunit": "*", "rector/rector-symfony": "*" }, + "suggest": { + "ext-dom": "To manipulate phpunit.xml via the custom-rule command" + }, "bin": [ "bin/rector" ], @@ -4546,6 +4540,7 @@ "MIT" ], "description": "Instant Upgrade and Automated Refactoring of any PHP code", + "homepage": "https://getrector.com/", "keywords": [ "automation", "dev", @@ -4554,7 +4549,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/2.2.5" }, "funding": [ { @@ -4562,7 +4557,7 @@ "type": "github" } ], - "time": "2023-12-20T16:08:01+00:00" + "time": "2025-10-23T11:22:37+00:00" }, { "name": "sanmai/later", @@ -7430,15 +7425,15 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": "~8.3.0" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "8.3.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }