Skip to content

Commit

Permalink
Merge pull request #115 from localheinz/fix/phpstan-rules
Browse files Browse the repository at this point in the history
Fix: Include rules.neon from localheinz/phpstan-rules
  • Loading branch information
localheinz authored Dec 8, 2018
2 parents bf06aee + 47361e0 commit cf68033
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
includes:
- vendor/localheinz/phpstan-rules/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/config.levelmax.neon

rules:
- Localheinz\PHPStan\Rules\Classes\AbstractOrFinalRule
parameters:
ignoreErrors:
- '#Method Localheinz\\Composer\\Normalize\\Command\\NormalizeCommand::__construct\(\) has parameter \$differ with null as default value.#'
- '#Method Localheinz\\Composer\\Normalize\\Command\\NormalizeCommand::__construct\(\) has parameter \$formatter with null as default value.#'
- '#Method Localheinz\\Composer\\Normalize\\Command\\NormalizeCommand::indentFrom\(\) has a nullable return type declaration.#'

0 comments on commit cf68033

Please sign in to comment.