Skip to content

Commit

Permalink
[BUILD] Cleanup phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Mar 21, 2019
1 parent 290d640 commit 8d0ceab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions phpstan.neon
@@ -1,12 +1,11 @@
includes:
- vendor-bin/phpstan/vendor/jangregor/phpstan-prophecy/src/extension.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/rules.neon

parameters:
autoload_files:
- vendor-bin/test/vendor/autoload.php

includes:
- vendor-bin/phpstan/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/extension.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-phpunit/rules.neon
- vendor-bin/phpstan/vendor/phpstan/phpstan-strict-rules/rules.neon

ignoreErrors:
- '#PHPDoc tag \@throws with type Http\\Client\\Exception is not subtype of Throwable#'
6 changes: 3 additions & 3 deletions vendor-bin/phpstan/composer.json
@@ -1,10 +1,10 @@
{
"require": {
"jangregor/phpstan-prophecy": "^0.3",
"phpstan/phpstan": "^0.11",
"phpstan/phpstan-phpunit": "^0.11",
"phpstan/phpstan-strict-rules": "^0.11"
"phpstan/phpstan-phpunit": "^0.11"
},
"conflict": {
"phpunit/phpunit": ">=7.0"
"phpunit/phpunit": ">=8.0"
}
}

0 comments on commit 8d0ceab

Please sign in to comment.