mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
PHPStan fixes
This commit is contained in:
parent
fbba175874
commit
589abb06a3
4 changed files with 11 additions and 5 deletions
|
@ -17,9 +17,15 @@ parameters:
|
|||
# variable defined in eval
|
||||
- '~^Undefined variable: \$res$~'
|
||||
|
||||
# erroneous detection of missing const, see https://github.com/phpstan/phpstan/issues/2960
|
||||
- '~^Access to undefined constant ZipArchive::OPSYS_UNIX.$~'
|
||||
|
||||
# we don't have different constructors for parent/child
|
||||
- '~^Unsafe usage of new static\(\)\.$~'
|
||||
|
||||
# BC with older PHPUnit
|
||||
- '~^Call to an undefined static method PHPUnit\\Framework\\TestCase::setExpectedException\(\)\.$~'
|
||||
|
||||
# hhvm should have support for $this in closures
|
||||
-
|
||||
count: 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue