Skip to content

Commit

Permalink
[TASK] Update PHPStan & friends
Browse files Browse the repository at this point in the history
The new version changes the format of a warning.

Executed commands:

    composer require --dev \
        phpstan/phpstan:^1.10.59 \
        phpstan/phpdoc-parser:^1.26.0 \
        phpstan/phpstan-phpunit:^1.2.16
    ./Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Resolves: #103193
Releases: main, 12.4
Change-Id: I36a6b4f98e03b73dbf076d84ce1ea900c26fcfb2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83120
Tested-by: core-ci <typo3@b13.com>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: Benjamin Franzke <ben@bnf.dev>
  • Loading branch information
oliverklee authored and sbuerk committed Feb 24, 2024
1 parent e6f69cc commit d8be803
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Build/phpstan/phpstan-baseline.neon
Expand Up @@ -2161,7 +2161,7 @@ parameters:
path: ../../typo3/sysext/lowlevel/Classes/Integrity/DatabaseIntegrityCheck.php

-
message: "#^Offset 1 does not exist on array\\<0, TYPO3\\\\CMS\\\\Redirects\\\\Event\\\\BeforeRedirectMatchDomainEvent\\>\\.$#"
message: "#^Offset 1 does not exist on non\\-empty\\-array\\<0, TYPO3\\\\CMS\\\\Redirects\\\\Event\\\\BeforeRedirectMatchDomainEvent\\>\\.$#"
count: 1
path: ../../typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -111,9 +111,9 @@
"friendsofphp/php-cs-fixer": "^3.46",
"friendsoftypo3/phpstan-typo3": "^0.9.0",
"php-webdriver/webdriver": "^1.14.0",
"phpstan/phpdoc-parser": "^1.25.0",
"phpstan/phpstan": "^1.10.58",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpdoc-parser": "^1.26.0",
"phpstan/phpstan": "^1.10.59",
"phpstan/phpstan-phpunit": "^1.2.16",
"phpunit/phpunit": "^10.5.5",
"sokil/php-isocodes-db-i18n": "^4.0.19",
"symfony/translation": "^7.0",
Expand Down
36 changes: 18 additions & 18 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d8be803

Please sign in to comment.