From 371431fd0772af662eaf63f0c3640f2c2f5ac7b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Jul 2026 12:02:26 +0000 Subject: [PATCH 1/2] composer(deps-dev): Bump ergebnis/rector-rules from 1.18.1 to 1.18.2 Bumps [ergebnis/rector-rules](https://github.com/ergebnis/rector-rules) from 1.18.1 to 1.18.2. - [Release notes](https://github.com/ergebnis/rector-rules/releases) - [Changelog](https://github.com/ergebnis/rector-rules/blob/main/CHANGELOG.md) - [Commits](https://github.com/ergebnis/rector-rules/compare/1.18.1...1.18.2) --- updated-dependencies: - dependency-name: ergebnis/rector-rules dependency-version: 1.18.2 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- composer.lock | 51 +++++++++++++++++++++++++++++++-------------------- 2 files changed, 32 insertions(+), 21 deletions(-) diff --git a/composer.json b/composer.json index 35537723..c9ffd80a 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "ergebnis/composer-normalize": "^2.52.0", "ergebnis/license": "^2.7.0", "ergebnis/php-cs-fixer-config": "^6.62.2", - "ergebnis/rector-rules": "^1.18.1", + "ergebnis/rector-rules": "^1.18.2", "fakerphp/faker": "~1.20.0", "phpstan/extension-installer": "^1.4.3", "phpstan/phpstan": "^2.1.54", diff --git a/composer.lock b/composer.lock index 80da599f..b548dce0 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": "c1ac530930894d0dcf6330f824d6ae6c", + "content-hash": "2c26b19825315ddb9d9b96b2a7ca4058", "packages": [ { "name": "doctrine/instantiator", @@ -2702,16 +2702,16 @@ }, { "name": "ergebnis/rector-rules", - "version": "1.18.1", + "version": "1.18.2", "source": { "type": "git", "url": "https://github.com/ergebnis/rector-rules.git", - "reference": "db1dd5b5f928f89b17392e7915f5e8458bd46df3" + "reference": "3d2466e734c7c0a9530c8b0d3cc7009ff865f623" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ergebnis/rector-rules/zipball/db1dd5b5f928f89b17392e7915f5e8458bd46df3", - "reference": "db1dd5b5f928f89b17392e7915f5e8458bd46df3", + "url": "https://api.github.com/repos/ergebnis/rector-rules/zipball/3d2466e734c7c0a9530c8b0d3cc7009ff865f623", + "reference": "3d2466e734c7c0a9530c8b0d3cc7009ff865f623", "shasum": "" }, "require": { @@ -2722,15 +2722,15 @@ }, "require-dev": { "ergebnis/classy": "^3.0.0", - "ergebnis/composer-normalize": "^2.50.0", + "ergebnis/composer-normalize": "^2.52.0", "ergebnis/data-provider": "^3.6.0", "ergebnis/license": "^2.7.0", - "ergebnis/php-cs-fixer-config": "^6.60.2", + "ergebnis/php-cs-fixer-config": "^6.62.1", "ergebnis/phpunit-slow-test-detector": "^2.24.0", "phpstan/extension-installer": "^1.4.3", "phpstan/phpstan-deprecation-rules": "^2.0.4", "phpstan/phpstan-phpunit": "^2.0.16", - "phpstan/phpstan-strict-rules": "^2.0.10", + "phpstan/phpstan-strict-rules": "^2.0.11", "phpunit/phpunit": "^9.6.33", "sebastian/diff": "^4.0.6", "symfony/filesystem": "^5.4.45", @@ -2766,7 +2766,7 @@ "security": "https://github.com/ergebnis/rector-rules/blob/main/.github/SECURITY.md", "source": "https://github.com/ergebnis/rector-rules" }, - "time": "2026-04-13T16:13:31+00:00" + "time": "2026-06-22T21:00:59+00:00" }, { "name": "erickskrauch/php-cs-fixer-custom-fixers", @@ -3420,11 +3420,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.1.54", + "version": "2.2.4", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/8be50c3992107dc837b17da4d140fbbdf9a5c5bd", - "reference": "8be50c3992107dc837b17da4d140fbbdf9a5c5bd", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f0fe3fb03bb53ce68cc2416785b260e62226ec27", + "reference": "f0fe3fb03bb53ce68cc2416785b260e62226ec27", "shasum": "" }, "require": { @@ -3447,6 +3447,17 @@ "license": [ "MIT" ], + "authors": [ + { + "name": "Ondřej Mirtes" + }, + { + "name": "Markus Staab" + }, + { + "name": "Vincent Langlet" + } + ], "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ "dev", @@ -3469,7 +3480,7 @@ "type": "github" } ], - "time": "2026-04-29T13:31:09+00:00" + "time": "2026-07-03T07:00:23+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -4309,21 +4320,21 @@ }, { "name": "rector/rector", - "version": "2.4.2", + "version": "2.5.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "e645b6463c6a88ea5b44b17d3387d35a912c7946" + "reference": "49ff6339174bdbdf50b0b35ecbcff14a05ac9e24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/e645b6463c6a88ea5b44b17d3387d35a912c7946", - "reference": "e645b6463c6a88ea5b44b17d3387d35a912c7946", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/49ff6339174bdbdf50b0b35ecbcff14a05ac9e24", + "reference": "49ff6339174bdbdf50b0b35ecbcff14a05ac9e24", "shasum": "" }, "require": { "php": "^7.4|^8.0", - "phpstan/phpstan": "^2.1.48" + "phpstan/phpstan": "^2.2.2" }, "conflict": { "rector/rector-doctrine": "*", @@ -4357,7 +4368,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/2.4.2" + "source": "https://github.com/rectorphp/rector/tree/2.5.2" }, "funding": [ { @@ -4365,7 +4376,7 @@ "type": "github" } ], - "time": "2026-04-16T13:07:34+00:00" + "time": "2026-06-22T11:39:33+00:00" }, { "name": "symfony/console", From 00629130d4e4a71fdb18b0ed265434a7477359e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 13 Jul 2026 15:57:49 +0200 Subject: [PATCH 2/2] Fix: Run 'make static-code-analysis-baseline' --- phpstan-baseline.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 9136c9e8..43c4ba28 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -13,7 +13,7 @@ parameters: path: src/Collector/DefaultCollector.php - - message: '#^Offset ''major'' might not exist on array\{\}\|array\{0\: non\-falsy\-string, major\: numeric\-string, 1\: numeric\-string, 2\: ''0''\|\(non\-falsy\-string&numeric\-string\), minor\?\: ''''\|numeric\-string, 3\?\: ''''\|numeric\-string, 4\?\: ''0''\|\(non\-falsy\-string&numeric\-string\)\}\.$#' + message: '#^Offset ''major'' might not exist on array\{\}\|array\{0\: non\-falsy\-string, major\: non\-empty\-string, 1\: non\-empty\-string, 2\: numeric\-string, minor\?\: string, 3\?\: string, 4\?\: numeric\-string\}\.$#' identifier: offsetAccess.notFound count: 1 path: src/Version/Series.php