Skip to content

Commit

Permalink
[TASK] Raise phpstan/phpstan:^1.6.7
Browse files Browse the repository at this point in the history
Raise phpstan to newest release, which find more
things in a proper way. This includes some opcache
and autoloading fixes which may hopefully help with
lately occurrence of long-running phpstan ci runs.

Used commands:

> composer req --dev phpstan/phpstan:^1.6.7
> Build/Scripts/runTests.sh -s clean
> Build/Scripts/runTests.sh -s phpstanGenerateBaseline

Resolves: #97551
Releases: main, 11.5
Change-Id: If7493bc4138e99ff173047cba358d3be43cf2357
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74525
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Stefan Bürk <stefan@buerk.tech>
  • Loading branch information
sbuerk committed May 5, 2022
1 parent f2e4e83 commit d77c966
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions Build/phpstan/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5790,6 +5790,11 @@ parameters:
count: 1
path: ../../typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php

-
message: "#^Negated boolean expression is always true\\.$#"
count: 1
path: ../../typo3/sysext/scheduler/Classes/CronCommand/CronCommand.php

-
message: "#^Comparison operation \"\\<\" between int\\<1, max\\> and 1 is always false\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"php-webdriver/webdriver": "^1.12.0",
"phpspec/prophecy": "^1.15.0",
"phpspec/prophecy-phpunit": "^2.0.1",
"phpstan/phpstan": "^1.6.3",
"phpstan/phpstan": "^1.6.7",
"phpstan/phpstan-phpunit": "^1.1.1",
"phpunit/phpunit": "^9.5.20",
"typo3/cms-styleguide": "~11.5.4",
Expand Down
14 changes: 7 additions & 7 deletions composer.lock

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

0 comments on commit d77c966

Please sign in to comment.