Verified Commit f782da83 authored by Oliver Klee's avatar Oliver Klee
Browse files

[TASK] Also check `Configuration/` and `Tests/` with PHPStan

Fixes #300
parent ca9a8e4e
parameters:
ignoreErrors:
-
message: "#^Constant TYPO3_version not found\\.$#"
count: 1
path: Configuration/TCA/tx_tea_domain_model_product_tea.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$actions\\)\\: Unexpected token \"\\$actions\", expected type at offset 1512$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$attribute\\)\\: Unexpected token \"\\$attribute\", expected type at offset 358$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$attribute\\)\\: Unexpected token \"\\$attribute\", expected type at offset 662$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$button\\)\\: Unexpected token \"\\$button\", expected type at offset 5185$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$checkbox
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$checkbox", expected type at offset 445$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$checkbox
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$checkbox", expected type at offset 475$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$checkbox\\)\\: Unexpected token \"\\$checkbox\", expected type at offset 445$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$checkbox\\)\\: Unexpected token \"\\$checkbox\", expected type at offset 475$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$context\\)\\: Unexpected token \"\\$context\", expected type at offset 984$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cookie\\)\\: Unexpected token \"\\$cookie\", expected type at offset 240$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cookie\\)\\: Unexpected token \"\\$cookie\", expected type at offset 253$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cookie\\)\\: Unexpected token \"\\$cookie\", expected type at offset 272$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cookie\\)\\: Unexpected token \"\\$cookie\", expected type at offset 358$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cssOrXPath\\)\\: Unexpected token \"\\$cssOrXPath\", expected type at offset 181$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cssOrXPathOrRegex\\)\\: Unexpected token \"\\$cssOrXPathOrRegex\", expected type at offset 561$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cssOrXpath\\)\\: Unexpected token \"\\$cssOrXpath\", expected type at offset 332$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$cssOrXpath\\)\\: Unexpected token \"\\$cssOrXpath\", expected type at offset 636$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$element\\)\\: Unexpected token \"\\$element\", expected type at offset 1489$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$element\\)\\: Unexpected token \"\\$element\", expected type at offset 376$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$element\\)\\: Unexpected token \"\\$element\", expected type at offset 401$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$element\\)\\: Unexpected token \"\\$element\", expected type at offset 415$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$element\\)\\: Unexpected token \"\\$element\", expected type at offset 549$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$element\\)\\: Unexpected token \"\\$element\", expected type at offset 858$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$field\\)\\: Unexpected token \"\\$field\", expected type at offset 238$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$field\\)\\: Unexpected token \"\\$field\", expected type at offset 330$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$field\\)\\: Unexpected token \"\\$field\", expected type at offset 349$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$field\\)\\: Unexpected token \"\\$field\", expected type at offset 458$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$field\\)\\: Unexpected token \"\\$field\", expected type at offset 606$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$field\\)\\: Unexpected token \"\\$field\", expected type at offset 611$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$filename\\)\\: Unexpected token \"\\$filename\", expected type at offset 351$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$formSelector\\)\\: Unexpected token \"\\$formSelector\", expected type at offset 1153$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$formSelector\\)\\: Unexpected token \"\\$formSelector\", expected type at offset 1652$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$keys\\)\\: Unexpected token \"\\$keys\", expected type at offset 200$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$link\\)\\: Unexpected token \"\\$link\", expected type at offset 964$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$name\\)\\: Unexpected token \"\\$name\", expected type at offset 206$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$name\\)\\: Unexpected token \"\\$name\", expected type at offset 292$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$name\\)\\: Unexpected token \"\\$name\", expected type at offset 480$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$name\\)\\: Unexpected token \"\\$name\", expected type at offset 952$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$option\\)\\: Unexpected token \"\\$option\", expected type at offset 184$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$option\\)\\: Unexpected token \"\\$option\", expected type at offset 231$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$option\\)\\: Unexpected token \"\\$option\", expected type at offset 284$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$option\\)\\: Unexpected token \"\\$option\", expected type at offset 404$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$optionText\\)\\: Unexpected token \"\\$optionText\", expected type at offset 309$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$optionText\\)\\: Unexpected token \"\\$optionText\", expected type at offset 317$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$params
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$params", expected type at offset 1181$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$params
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$params", expected type at offset 1680$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$params\\)\\: Unexpected token \"\\$params\", expected type at offset 1181$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$params\\)\\: Unexpected token \"\\$params\", expected type at offset 1680$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$params\\)\\: Unexpected token \"\\$params\", expected type at offset 5163$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$raw
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$raw", expected type at offset 312$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$raw
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$raw", expected type at offset 315$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$raw\\)\\: Unexpected token \"\\$raw\", expected type at offset 312$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$raw\\)\\: Unexpected token \"\\$raw\", expected type at offset 315$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$script\\)\\: Unexpected token \"\\$script\", expected type at offset 523$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$script\\)\\: Unexpected token \"\\$script\", expected type at offset 668$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$select\\)\\: Unexpected token \"\\$select\", expected type at offset 162$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$select\\)\\: Unexpected token \"\\$select\", expected type at offset 382$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 149$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 285$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 293$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 303$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 384$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 432$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 509$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 5139$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$selector\\)\\: Unexpected token \"\\$selector\", expected type at offset 623$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$subdomain\\)\\: Unexpected token \"\\$subdomain\", expected type at offset 543$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$text
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$text", expected type at offset 180$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$text
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$text", expected type at offset 278$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$text\\)\\: Unexpected token \"\\$text\", expected type at offset 180$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$text\\)\\: Unexpected token \"\\$text\", expected type at offset 256$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$text\\)\\: Unexpected token \"\\$text\", expected type at offset 264$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$text\\)\\: Unexpected token \"\\$text\", expected type at offset 278$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$title\\)\\: Unexpected token \"\\$title\", expected type at offset 180$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$title\\)\\: Unexpected token \"\\$title\", expected type at offset 269$#"
count: 2
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$value
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$value", expected type at offset 627$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message:
"""
#^PHPDoc tag @param has invalid value \\(\\$value
Conditional Assertion\\: Test won't be stopped on fail\\)\\: Unexpected token "\\$value", expected type at offset 632$#
"""
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$value\\)\\: Unexpected token \"\\$value\", expected type at offset 370$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$value\\)\\: Unexpected token \"\\$value\", expected type at offset 627$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.php
-
message: "#^PHPDoc tag @param has invalid value \\(\\$value\\)\\: Unexpected token \"\\$value\", expected type at offset 632$#"
count: 1
path: Tests/Acceptance/_support/AcceptanceTester.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
......@@ -13,6 +13,10 @@ parameters:
paths:
- Classes
- Configuration
- Tests
scanDirectories:
- Classes
- Configuration
- Tests
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment