-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathphpstan.tests.neon
27 lines (27 loc) · 2.84 KB
/
phpstan.tests.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
parameters:
excludePaths:
- tests/TestCase/KnpMenuTestCase.php
- tests/TestCase/Renderer/KnpAbstractRendererTest.php
ignoreErrors:
- identifier: missingType.iterableValue
- '#PHPUnit\\Framework\\MockObject\\MockObject given#'
- '#PHPUnit\\Framework\\MockObject\\MockObject::expects\(\)#'
- '#Call to an undefined method Icings\\Menu\\Matcher\\Voter\\UrlVoter\|PHPUnit\\Framework\\MockObject\\MockObject::matchItem\(\)#'
- '#Call to static method createRequest\(\) on an unknown class Icings\\Menu\\TestSuite\\RequestFactoryTrait#'
- '#Call to an undefined method Icings\\Menu\\View\\Helper\\MenuHelper\|PHPUnit\\Framework\\MockObject\\MockObject::setMenuFactory\(\)#'
- '#Call to an undefined method Icings\\Menu\\View\\Helper\\MenuHelper\|PHPUnit\\Framework\\MockObject\\MockObject::create\(\)#'
- '#Call to an undefined method Icings\\Menu\\View\\Helper\\MenuHelper\|PHPUnit\\Framework\\MockObject\\MockObject::render\(\)#'
- '#Call to an undefined method Icings\\Menu\\View\\Helper\\MenuHelper\|PHPUnit\\Framework\\MockObject\\MockObject::setConfig\(\)#'
- '#Call to an undefined method Icings\\Menu\\View\\Helper\\MenuHelper\|PHPUnit\\Framework\\MockObject\\MockObject::getCurrentItem\(\)#'
- '#Class Icings\\Menu\\Renderer\\StringTemplateRenderer constructor invoked with 0 parameters, 1-2 required#'
- '#Parameter \#1 \$matcher of class Icings\\Menu\\Renderer\\StringTemplateRenderer constructor expects Knp\\Menu\\Matcher\\MatcherInterface, string given#'
- '#Parameter \#2 \$config of class Icings\\Menu\\Renderer\\StringTemplateRenderer constructor expects array, string given#'
- '#Parameter \#1 \$name of method Icings\\Menu\\View\\Helper\\MenuHelper::create\(\) expects string, int given#'
- '#Parameter \#1 \$menu of method Icings\\Menu\\View\\Helper\\MenuHelper::render\(\) expects array\|Knp\\Menu\\ItemInterface\|string\|null, int given#'
- '#PHPDoc tag @var for variable \$stub has invalid type Icings\\Menu\\TestSuite\\RequestFactoryTrait#'
- '#Parameter \#1 \$array of function array_walk expects array\|object, array\<int, string\>\|false given#'
- '#Parameter \#1 \$array of function array_filter expects array, array\<int, string\>\|false given#'
- '#Parameter \#1 \$item of method Icings\\Menu\\View\\Helper\\MenuHelper::extractPath\(\) expects Knp\\Menu\\ItemInterface, int given#'
- '#Parameter \#2 \$options of method Icings\\Menu\\View\\Helper\\MenuHelper::extractPath\(\) expects array, int given#'
- '#Parameter \#1 \$menu of method Icings\\Menu\\View\\Helper\\MenuHelper::getCurrentItem\(\) expects array\|Knp\\Menu\\ItemInterface\|string\|null, int given#'
- '#Parameter \#2 \$options of method Icings\\Menu\\View\\Helper\\MenuHelper::getCurrentItem\(\) expects array, int given#'