mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 08:56:56 +01:00
[TASK] Raise PHPStan to level 4 (#1254)
The higher level creates new warnings which I will address in a separate change. Part of #1252
This commit is contained in:
parent
fbc479442b
commit
f28b8479e6
2 changed files with 21 additions and 2 deletions
|
@ -1,2 +1,21 @@
|
||||||
parameters:
|
parameters:
|
||||||
ignoreErrors: []
|
ignoreErrors:
|
||||||
|
-
|
||||||
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'TYPO3\\\\\\\\CMS\\\\\\\\Extbase\\\\\\\\Mvc\\\\\\\\Controller\\\\\\\\ActionController' and PHPUnit\\\\Framework\\\\MockObject\\\\MockObject&TTN\\\\Tea\\\\Controller\\\\FrontEndEditorController&TYPO3\\\\TestingFramework\\\\Core\\\\AccessibleObjectInterface will always evaluate to true\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: Tests/Unit/Controller/FrontEndEditorControllerTest.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'TYPO3\\\\\\\\CMS\\\\\\\\Extbase\\\\\\\\Mvc\\\\\\\\Controller\\\\\\\\ActionController' and PHPUnit\\\\Framework\\\\MockObject\\\\MockObject&TTN\\\\Tea\\\\Controller\\\\TeaController&TYPO3\\\\TestingFramework\\\\Core\\\\AccessibleObjectInterface will always evaluate to true\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: Tests/Unit/Controller/TeaControllerTest.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'TYPO3\\\\\\\\CMS\\\\\\\\Extbase\\\\\\\\DomainObject\\\\\\\\AbstractEntity' and TTN\\\\Tea\\\\Domain\\\\Model\\\\Tea will always evaluate to true\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: Tests/Unit/Domain/Model/TeaTest.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) with 'TYPO3\\\\\\\\CMS\\\\\\\\Extbase\\\\\\\\Persistence\\\\\\\\Repository' and TTN\\\\Tea\\\\Domain\\\\Repository\\\\TeaRepository will always evaluate to true\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: Tests/Unit/Domain/Repository/TeaRepositoryTest.php
|
||||||
|
|
|
@ -10,7 +10,7 @@ parameters:
|
||||||
# Don't be overly greedy on machines with more CPU's to be a good neighbor especially on CI
|
# Don't be overly greedy on machines with more CPU's to be a good neighbor especially on CI
|
||||||
maximumNumberOfProcesses: 5
|
maximumNumberOfProcesses: 5
|
||||||
|
|
||||||
level: 3
|
level: 4
|
||||||
|
|
||||||
bootstrapFiles:
|
bootstrapFiles:
|
||||||
- .Build/vendor/autoload.php
|
- .Build/vendor/autoload.php
|
||||||
|
|
Loading…
Reference in a new issue