mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 20:06:14 +01:00

[TASK] Also check Configuration/ and Tests/ with PHPStan (#308)

This commit is contained in:
Oliver Klee 2021-09-22 17:53:03 +02:00 committed by GitHub
parent a2342d5421
commit 3939ad083e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View file

@ -1,2 +1,17 @@
parameters:
ignoreErrors:
-
message: "#^Constant TYPO3_version not found\\.$#"
count: 1
path: Configuration/TCA/tx_tea_domain_model_product_tea.php
-
message: "#^Constant TYPO3_version not found\\.$#"
count: 1
path: Tests/Functional/Controller/TeaControllerTest.php
-
message: "#^Property TTN\\\\Tea\\\\Tests\\\\Unit\\\\Domain\\\\Repository\\\\Product\\\\TeaRepositoryTest\\:\\:\\$objectManager \\(Prophecy\\\\Prophecy\\\\ProphecySubjectInterface&TYPO3\\\\CMS\\\\Extbase\\\\Object\\\\ObjectManagerInterface\\) does not accept TYPO3\\\\CMS\\\\Extbase\\\\Object\\\\ObjectManagerInterface\\.$#"
count: 1
path: Tests/Unit/Domain/Repository/Product/TeaRepositoryTest.php

View file

@ -13,6 +13,13 @@ parameters:
paths:
- Classes
- Configuration
- Tests
scanDirectories:
- Classes
- Configuration
- Tests
excludePaths:
- Tests/Acceptance/