summaryrefslogtreecommitdiff
path: root/vendor/beberlei/assert/phpstan-tests.neon
diff options
context:
space:
mode:
authorChih-Hsuan Yen <[email protected]>2022-07-03 14:47:43 +0800
committerAndrew Dolgov <[email protected]>2022-07-12 22:23:30 +0300
commitd9861038bcc3cb2f38c7153bdca7d5ab89597afa (patch)
tree7b7b28f75714a24856106edce8dfdc0ec989057a /vendor/beberlei/assert/phpstan-tests.neon
parentf8fe5e02f18ce3d61544865cc8eb22df18be6bf1 (diff)
Update beberlei/assert for PHP 8 compatibility
Run `composer update beberlei/assert` using composer 2.3.8 on PHP 8.1.7 Updating other packages without updating this fails with: ``` Your requirements could not be resolved to an installable set of packages. Problem 1 - beberlei/assert v3.2.2 requires php ^7 -> your php version (8.1.7) does not satisfy that requirement. - spomky-labs/otphp v10.0.1 requires beberlei/assert ^3.0 -> satisfiable by beberlei/assert[v3.2.2]. - spomky-labs/otphp is locked to version v10.0.1 and an update of this package was not requested. ```
Diffstat (limited to 'vendor/beberlei/assert/phpstan-tests.neon')
-rw-r--r--vendor/beberlei/assert/phpstan-tests.neon10
1 files changed, 0 insertions, 10 deletions
diff --git a/vendor/beberlei/assert/phpstan-tests.neon b/vendor/beberlei/assert/phpstan-tests.neon
deleted file mode 100644
index e9ab0bcf9..000000000
--- a/vendor/beberlei/assert/phpstan-tests.neon
+++ /dev/null
@@ -1,10 +0,0 @@
-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#'