Skip to content

Commit

Permalink
Merge pull request #156 from localheinz/feature/phpstan-deprecation-r…
Browse files Browse the repository at this point in the history
…ules

Enhancement: Require phpstan/phpstan-deprecation-rules
  • Loading branch information
localheinz authored Jan 8, 2019
2 parents 13c76b9 + 0f59f6c commit a848059
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"localheinz/phpstan-rules": "~0.5.0",
"localheinz/test-util": "0.6.1",
"phpstan/phpstan": "~0.10.7",
"phpstan/phpstan-deprecation-rules": "~0.10.2",
"phpstan/phpstan-strict-rules": "~0.10.1",
"phpunit/phpunit": "^6.5.13 || ^7.5.0",
"symfony/filesystem": "^4.2.1"
Expand Down
48 changes: 47 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
includes:
- vendor/jangregor/phpstan-prophecy/src/extension.neon
- vendor/localheinz/phpstan-rules/rules.neon
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/phpstan/phpstan/conf/config.levelmax.neon

parameters:
ignoreErrors:
- '#Call to deprecated method usingFileArgument\(\) of class Localheinz\\Composer\\Normalize\\Test\\Util\\CommandInvocation.#'
- '#Constructor in Localheinz\\Composer\\Normalize\\Command\\NormalizeCommand has parameter \$differ with default value.#'
- '#Constructor in Localheinz\\Composer\\Normalize\\Command\\NormalizeCommand has parameter \$formatter with default value.#'
- '#Method Localheinz\\Composer\\Normalize\\Command\\NormalizeCommand::__construct\(\) has parameter \$differ with null as default value.#'
Expand Down

0 comments on commit a848059

Please sign in to comment.