-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan.dist.neon
38 lines (37 loc) · 1.49 KB
/
phpstan.dist.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
28
29
30
31
32
33
34
35
36
37
38
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: 10
paths:
- src
- tests
ignoreErrors:
-
# See: https://github.com/php-webdriver/php-webdriver/pull/1120
message: '#^Parameter \#1 \$seconds of method Facebook\\WebDriver\\WebDriverTimeouts\:\:implicitlyWait\(\) expects int, float\|int given\.$#'
identifier: argument.type
count: 1
path: src/WebdriverClassicDriver.php
-
# See: https://github.com/php-webdriver/php-webdriver/pull/1120
message: '#^Parameter \#1 \$seconds of method Facebook\\WebDriver\\WebDriverTimeouts\:\:pageLoadTimeout\(\) expects int, float\|int given\.$#'
identifier: argument.type
count: 1
path: src/WebdriverClassicDriver.php
-
# See: https://github.com/php-webdriver/php-webdriver/pull/1120
message: '#^Parameter \#1 \$seconds of method Facebook\\WebDriver\\WebDriverTimeouts\:\:setScriptTimeout\(\) expects int, float\|int given\.$#'
identifier: argument.type
count: 1
path: src/WebdriverClassicDriver.php
-
message: '#^Method Mink\\WebdriverClassicDriver\\WebdriverClassicDriver\:\:getWindowHandleFromName\(\) should return string but returns mixed\.$#'
identifier: return.type
count: 1
path: src/WebdriverClassicDriver.php
-
message: '#^Parameter \#1 \$handle of method Facebook\\WebDriver\\Remote\\RemoteTargetLocator\:\:window\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 3
path: src/WebdriverClassicDriver.php