Skip to content

Commit

Permalink
[TASK] phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
achimfritz committed Jun 24, 2024
1 parent fbbc6bb commit dd68bf2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 13 deletions.
11 changes: 0 additions & 11 deletions Build/phpstan10.neon

This file was deleted.

6 changes: 6 additions & 0 deletions Build/phpstan11.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ parameters:
paths:
- %currentWorkingDirectory%/Classes
- %currentWorkingDirectory%/Tests
excludePaths:
- %currentWorkingDirectory%/Tests/Unit/Domain/Repository/MenuRepositoryTest.php
ignoreErrors:
-
message: '#Cannot call method getLanguageCode\(\) on string.#'
path: %currentWorkingDirectory%/Classes/Compiler/LanguageMenuCompiler.php
3 changes: 2 additions & 1 deletion Build/phpstan12.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ parameters:
paths:
- %currentWorkingDirectory%/Classes
- %currentWorkingDirectory%/Tests

excludePaths:
- %currentWorkingDirectory%/Tests/Unit/Domain/Repository/MenuRepositoryTest.php
ignoreErrors:
-
message: '#Call to an undefined static method TYPO3\\CMS\\Frontend\\ContentObject\\AbstractContentObject::__construct\(\).#'
Expand Down
3 changes: 2 additions & 1 deletion Build/phpstan13.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ parameters:
paths:
- %currentWorkingDirectory%/Classes
- %currentWorkingDirectory%/Tests

excludePaths:
- %currentWorkingDirectory%/Tests/Unit/Domain/Repository/MenuRepositoryTest.php
ignoreErrors:
-
message: '#Call to an undefined method TYPO3\\CMS\\Core\\Site\\Entity\\SiteLanguage::getTwoLetterIsoCode\(\).#'
Expand Down

0 comments on commit dd68bf2

Please sign in to comment.