-
Notifications
You must be signed in to change notification settings - Fork 40
/
phpstan.neon
22 lines (21 loc) · 1.08 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
includes:
- phpstan-dynamic.php # dynamic PHPStan configuration
parameters:
ignoreErrors:
- '#Constructor of class .+ImplementsCapabilitiesResolverInterface has an unused parameter \$config#'
- '#Constructor of class Lmc\\Steward\\Selenium\\Fixtures\\CapabilitiesResolverFixture has an unused parameter \$config#'
- '#Call to an undefined method Lmc\\Steward\\Component\\Fixtures\\MockComponent::notExisting\(\)#'
- '#Property Lmc\\Steward\\Test\\AbstractTestCase::\$wd \(.+\) does not accept Lmc\\Steward\\WebDriver\\NullWebDriver#'
- message: '#SimpleXMLElement does not accept string#'
path: 'src/Publisher/XmlPublisher.php'
excludePaths:
- '%rootDir%/../../../src-tests/Process/Fixtures/InvalidTests/WrongClassTest.php'
- '%rootDir%/../../../src-tests/Test/SyntaxSugarTraitTest.php'
- '%rootDir%/../../../src-tests/ConfigProviderTest.php'
- 'src/WebDriver/NullWebDriver.php'
bootstrapFiles:
- '%rootDir%/../../../src-tests/bootstrap.php'
level: 4
paths:
- src/
- src-tests/