-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to ignoring errors instead of stubs
- Loading branch information
Showing
6 changed files
with
43 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,6 @@ indent_size = 2 | |
|
||
[*.php] | ||
ij_php_align_multiline_parameters = false | ||
|
||
[*.neon] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,41 @@ | ||
parameters: | ||
level: 10 | ||
paths: | ||
- src | ||
- tests | ||
treatPhpDocTypesAsCertain: false | ||
stubFiles: | ||
- stubs/DesiredCapabilities.stub | ||
- stubs/RemoteWebDriver.stub | ||
- stubs/WebDriverTimeouts.stub | ||
|
||
includes: | ||
- vendor/phpstan/phpstan-phpunit/extension.neon | ||
- vendor/phpstan/phpstan-phpunit/rules.neon | ||
- vendor/phpstan/phpstan-phpunit/extension.neon | ||
- vendor/phpstan/phpstan-phpunit/rules.neon | ||
|
||
parameters: | ||
level: 10 | ||
paths: | ||
- src | ||
- tests | ||
treatPhpDocTypesAsCertain: false | ||
ignoreErrors: | ||
- | ||
message: '#^Method Mink\\WebdriverClassicDriver\\WebdriverClassicDriver\:\:getDesiredCapabilities\(\) should return array\<string, mixed\> but returns array\.$#' | ||
identifier: return.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 | ||
- | ||
message: '#^Parameter \#1 \$seconds of method Facebook\\WebDriver\\WebDriverTimeouts\:\:implicitlyWait\(\) expects int, float\|int given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/WebdriverClassicDriver.php | ||
- | ||
message: '#^Parameter \#1 \$seconds of method Facebook\\WebDriver\\WebDriverTimeouts\:\:pageLoadTimeout\(\) expects int, float\|int given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/WebdriverClassicDriver.php | ||
- | ||
message: '#^Parameter \#1 \$seconds of method Facebook\\WebDriver\\WebDriverTimeouts\:\:setScriptTimeout\(\) expects int, float\|int given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/WebdriverClassicDriver.php |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.