From b40774ee584980d4ba454e914b25d5a6abd1c9d7 Mon Sep 17 00:00:00 2001 From: Christian Kuhn <lolli@schwarzbu.ch> Date: Mon, 27 Nov 2023 18:46:35 +0100 Subject: [PATCH] [TASK] Update `phpstan/phpstan` to 1.10.45 > composer require --dev phpstan/phpstan:^1.10.45 > Build/Scripts/runTests.sh -s phpstanGenerateBaseline Resolves: #102536 Releases: main, 12.4 Change-Id: Ie529eba3c951d20bf4d0b6f2b838d329ac771805 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81982 Tested-by: core-ci <typo3@b13.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> --- Build/phpstan/phpstan-baseline.neon | 7 +------ composer.json | 2 +- composer.lock | 14 +++++++------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon index 84f03d6f10ce..36635274c7b5 100644 --- a/Build/phpstan/phpstan-baseline.neon +++ b/Build/phpstan/phpstan-baseline.neon @@ -2711,12 +2711,7 @@ parameters: path: ../../typo3/sysext/impexp/Classes/ImportExport.php - - message: "#^Left side of && is always false\\.$#" - count: 2 - path: ../../typo3/sysext/impexp/Classes/ImportExport.php - - - - message: "#^Offset 'msg' on \\*NEVER\\* on left side of \\?\\? always exists and is always null\\.$#" + message: "#^Offset 'msg' on \\*NEVER\\* on left side of \\?\\? always exists and is not nullable\\.$#" count: 2 path: ../../typo3/sysext/impexp/Classes/ImportExport.php diff --git a/composer.json b/composer.json index 6ec1ed34bc8d..4d9a22f17b5d 100644 --- a/composer.json +++ b/composer.json @@ -112,7 +112,7 @@ "friendsofphp/php-cs-fixer": "^3.37.1", "friendsoftypo3/phpstan-typo3": "^0.9.0", "php-webdriver/webdriver": "^1.14.0", - "phpstan/phpstan": "^1.10.41", + "phpstan/phpstan": "^1.10.45", "phpstan/phpstan-phpunit": "^1.3.14", "phpunit/phpunit": "^10.4.0", "sokil/php-isocodes-db-i18n": "^4.0.13", diff --git a/composer.lock b/composer.lock index 4f0b3ae52a43..5674b60a26e2 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": "aec5e694d945275340a720bb71b12bf8", + "content-hash": "d0a63dd3824077fef3b4f13ea7de233f", "packages": [ { "name": "bacon/bacon-qr-code", @@ -6688,16 +6688,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.41", + "version": "1.10.45", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c6174523c2a69231df55bdc65b61655e72876d76" + "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c6174523c2a69231df55bdc65b61655e72876d76", - "reference": "c6174523c2a69231df55bdc65b61655e72876d76", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2f024fbb47432e2e62ad8a8032387aa2dd631c73", + "reference": "2f024fbb47432e2e62ad8a8032387aa2dd631c73", "shasum": "" }, "require": { @@ -6746,7 +6746,7 @@ "type": "tidelift" } ], - "time": "2023-11-05T12:57:57+00:00" + "time": "2023-11-27T14:15:06+00:00" }, { "name": "phpstan/phpstan-phpunit", @@ -9087,5 +9087,5 @@ "platform-overrides": { "php": "8.1.1" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } -- GitLab