Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Use ergebnis/phpstan-rules instead of localheinz/phpstan-rules #177

Merged
merged 1 commit into from
Dec 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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