Skip to content

Commit

Permalink
Merge pull request #177 from localheinz/feature/phpstan-rules
Browse files Browse the repository at this point in the history
Enhancement: Use ergebnis/phpstan-rules instead of localheinz/phpstan-rules
  • Loading branch information
localheinz authored Dec 9, 2019
2 parents 4fb8dbb + 2076277 commit 6e20f1d
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 69 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
},
"require-dev": {
"ergebnis/php-cs-fixer-config": "~1.1.0",
"ergebnis/phpstan-rules": "~0.14.0",
"ergebnis/test-util": "~0.9.0",
"infection/infection": "~0.13.6",
"jangregor/phpstan-prophecy": "~0.4.2",
"localheinz/phpstan-rules": "~0.13.0",
"phpbench/phpbench": "~0.16.10",
"phpstan/extension-installer": "^1.0.3",
"phpstan/phpstan": "~0.11.19",
Expand Down
131 changes: 68 additions & 63 deletions composer.lock

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

11 changes: 6 additions & 5 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ includes:
- phpstan-baseline.neon

parameters:
classesAllowedToBeExtended:
- InvalidArgumentException
- Localheinz\Json\Normalizer\Test\Unit\AbstractNormalizerTestCase
- Localheinz\Json\Normalizer\Test\Unit\Exception\AbstractExceptionTestCase
- RuntimeException
ergebnis:
classesAllowedToBeExtended:
- InvalidArgumentException
- Localheinz\Json\Normalizer\Test\Unit\AbstractNormalizerTestCase
- Localheinz\Json\Normalizer\Test\Unit\Exception\AbstractExceptionTestCase
- RuntimeException
ignoreErrors:
- '#Method Localheinz\\Json\\Normalizer\\Json::__construct\(\) has parameter \$decoded with no typehint specified.#'
- '#Method Localheinz\\Json\\Normalizer\\SchemaNormalizer::resolveSchema\(\) has parameter \$data with no typehint specified.#'
Expand Down

0 comments on commit 6e20f1d

Please sign in to comment.