Fix phpstan config

main
Jordi Boggiano 4 years ago
parent c0b0149040
commit e9a2f922d5
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -1,5 +0,0 @@
<?php
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__ . '/../src/bootstrap.php';

@ -1,7 +1,7 @@
parameters:
level: 1
autoload_files:
- autoload.php
- '../src/bootstrap.php'
excludes_analyse:
- '../tests/Composer/Test/Fixtures/*'
- '../tests/Composer/Test/Autoload/Fixtures/*'
@ -22,9 +22,6 @@ 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::LIBZIP_VERSION.$~'
# we don't have different constructors for parent/child
- '~^Unsafe usage of new static\(\)\.$~'

Loading…
Cancel
Save