Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions Build/phpstan/phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,2 +1,37 @@
parameters:
ignoreErrors:
-
message: '#^Offset 0 on non\-empty\-list\<string\> on left side of \?\? always exists and is not nullable\.$#'
identifier: nullCoalesce.offset
count: 1
path: ../../Classes/Composer/ComposerPackageManager.php

-
message: '#^Trait TYPO3\\TestingFramework\\Core\\AccessibleProxyTrait is used zero times and is not analysed\.$#'
identifier: trait.unused
count: 1
path: ../../Classes/Core/AccessibleProxyTrait.php

-
message: '#^Call to function is_array\(\) with non\-empty\-array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: ../../Classes/Core/Functional/Framework/Constraint/RequestSection/DoesNotHaveRecordConstraint.php

-
message: '#^Call to function is_array\(\) with non\-empty\-array will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 1
path: ../../Classes/Core/Functional/Framework/Constraint/RequestSection/HasRecordConstraint.php

-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertTrue\(\) with true will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 1
path: ../../Classes/Core/Functional/FunctionalTestCase.php

-
message: '#^Strict comparison using \!\=\= between int\|string\|true and false will always evaluate to true\.$#'
identifier: notIdentical.alwaysTrue
count: 1
path: ../../Classes/Core/Functional/FunctionalTestCase.php
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.65.0",
"phpstan/phpstan": "^1.11.5",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan": "^2.0.2",
"phpstan/phpstan-phpunit": "^2.0.1",
"typo3/cms-workspaces": "13.*.*@dev || 14.*.*@dev"
},
"replace": {
Expand Down