/
phpstan.neon
20 lines (20 loc) · 1.16 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 \\(Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver\\) does not accept Lmc\\\\Steward\\\\WebDriver\\\\NullWebDriver#"
- message: '#should return .+ but return statement is missing#'
path: 'src/WebDriver/NullWebDriver.php'
- message: '#Variable \$e might not be defined.#'
path: 'src/Listener/WebDriverListener.php'
excludes_analyse:
- '%rootDir%/../../../src-tests/Process/Fixtures/InvalidTests/WrongClassTest.php'
- '%rootDir%/../../../src-tests/Test/SyntaxSugarTraitTest.php'
- '%rootDir%/../../../src-tests/ConfigProviderTest.php'
bootstrapFiles:
- '%rootDir%/../../../src-tests/bootstrap.php'
level: 4
paths:
- src/
- src-tests/