phpstan fixes

This commit is contained in:
TomasVotruba 2017-07-16 14:08:20 +02:00
parent 7a97ad00af
commit ad5ba530c7
2 changed files with 1 additions and 3 deletions

View File

@ -33,6 +33,6 @@
"all": ["phpunit", "@cs", "@ps"],
"cs": "ecs check src tests",
"fs": "ecs check src tests --fix",
"ps": "phpstan analyse src tests --level 7 -c phpstan.neon"
"ps": "phpstan analyse src tests --level 7 --configuration phpstan.neon"
}
}

View File

@ -1,5 +1,3 @@
parameters:
ignoreErrors:
- '#should return PhpParser\\Node\[\] but returns PhpParser\\Node\[\]\|null#'
# annotated => bug
- '#Access to an undefined property PhpParser\\Node\\Expr::\$value#'