summaryrefslogtreecommitdiff
path: root/vendor/beberlei/assert/phpstan-tests.neon
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 19:16:17 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 19:16:17 +0300
commit3fd785654372d493c031d9b541ab33a881023a32 (patch)
tree0a76cb410217074378de3d7012b95754cd3c7e6f /vendor/beberlei/assert/phpstan-tests.neon
parentbc4475b6698f5a74e475674aa7af43253c459892 (diff)
* switch to composer for qrcode and otp dependencies
* move most OTP-related stuff into userhelper * remove old phpqrcode and otphp libraries
Diffstat (limited to 'vendor/beberlei/assert/phpstan-tests.neon')
-rw-r--r--vendor/beberlei/assert/phpstan-tests.neon10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/beberlei/assert/phpstan-tests.neon b/vendor/beberlei/assert/phpstan-tests.neon
new file mode 100644
index 000000000..e9ab0bcf9
--- /dev/null
+++ b/vendor/beberlei/assert/phpstan-tests.neon
@@ -0,0 +1,10 @@
+parameters:
+ ignoreErrors:
+ # The following errors are ignored as they are testing for errors and exceptions that static analysis correctly identifies as problems.
+ - '#Call to an undefined method Assert\\AssertionChain::unknownAssertion\(\)#'
+ - '#Call to an undefined static method Assert\\Assertion::nullOrAssertionDoesNotExist\(\)#'
+ - '#Class Foo not found#'
+ - '#Parameter \#1 $value of static method Assert\\Assertion::isCountable\(\) expects array|Countable|ResourceBundle|SimpleXMLElement, string given#'
+ - '#Parameter \#2 \$operator of static method Assert\\Assertion::version\(\) expects string, null given#'
+ - '#Static method Assert\\Assertion::allTrue\(\) invoked with 0 parameters, 1-3 required#'
+ - '#Static method Assert\\Assertion::nullOrMax\(\) invoked with 0 parameters, 2-4 required#'