From 25f890ad88d26430658b60701d01054271bf93ce Mon Sep 17 00:00:00 2001 From: Anja Leichsenring <aleichsenring@ab-softlab.de> Date: Thu, 11 May 2023 07:27:48 +0200 Subject: [PATCH] [TASK] Raise 'phpstan/phpstan' and regenerate baseline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A new patch level requires to regenerate baseline. > composer req --dev phpstan/phpstan:^1.10.15 > Build/Scripts/runTests.sh -s phpstanGenerateBaseline Change-Id: I50afb973f762f3a4f30105d3cac4445fb81f71df Resolves: #100850 Releases: main, 12.4, 11.5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79014 Tested-by: core-ci <typo3@b13.com> Tested-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Stefan Bürk <stefan@buerk.tech> --- Build/phpstan/phpstan-baseline.neon | 5 +++++ composer.json | 2 +- composer.lock | 12 ++++++------ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Build/phpstan/phpstan-baseline.neon b/Build/phpstan/phpstan-baseline.neon index dcfc8f96219c..05c8f3804e35 100644 --- a/Build/phpstan/phpstan-baseline.neon +++ b/Build/phpstan/phpstan-baseline.neon @@ -540,6 +540,11 @@ parameters: count: 1 path: ../../typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php + - + message: "#^Parameter \\#2 \\$args of function vsprintf expects array\\<bool\\|float\\|int\\|string\\|null\\>, array\\<int, array\\<int, mixed\\>\\> given\\.$#" + count: 1 + path: ../../typo3/sysext/core/Classes/Authentication/AuthenticationService.php + - message: "#^Offset 'access' on array on left side of \\?\\? always exists and is not nullable\\.$#" count: 1 diff --git a/composer.json b/composer.json index 1fb2222af3d7..c8cd605e44d5 100644 --- a/composer.json +++ b/composer.json @@ -119,7 +119,7 @@ "php-webdriver/webdriver": "^1.12.0", "phpspec/prophecy": "^1.15.0", "phpspec/prophecy-phpunit": "^2.0.1", - "phpstan/phpstan": "^1.10.13", + "phpstan/phpstan": "^1.10.15", "phpstan/phpstan-phpunit": "^1.3.11", "phpunit/phpunit": "^9.6.1", "typo3/cms-styleguide": "~11.5.4", diff --git a/composer.lock b/composer.lock index fe822c8c20ab..7d36e2d05507 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": "9f7b57dd10a31c0accf5e0f23c27f529", + "content-hash": "2e34dffb88dd206a3f29e18d792830a6", "packages": [ { "name": "bacon/bacon-qr-code", @@ -7170,16 +7170,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.13", + "version": "1.10.15", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "f07bf8c6980b81bf9e49d44bd0caf2e737614a70" + "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f07bf8c6980b81bf9e49d44bd0caf2e737614a70", - "reference": "f07bf8c6980b81bf9e49d44bd0caf2e737614a70", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/762c4dac4da6f8756eebb80e528c3a47855da9bd", + "reference": "762c4dac4da6f8756eebb80e528c3a47855da9bd", "shasum": "" }, "require": { @@ -7228,7 +7228,7 @@ "type": "tidelift" } ], - "time": "2023-04-12T19:29:52+00:00" + "time": "2023-05-09T15:28:01+00:00" }, { "name": "phpstan/phpstan-phpunit", -- GitLab