Skip to content

Commit

Permalink
SDK-924: Moved phpstan path config to the phpstan.neon file. (#206)
Browse files Browse the repository at this point in the history
* SDK-924: Moved phpstan `path` config to the `phpstan.neon` file.

* SDK-924: Moved task files to `Resourcers/config` dir.
  • Loading branch information
pavelmaksimov25 authored Sep 7, 2022
1 parent 8529ead commit 5ebb368
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"scripts": {
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"stan": "phpstan analyze src/",
"stan": "phpstan analyze",
"linters": [
"@cs-fix",
"@cs-check",
Expand Down
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
parameters:
level: 8
paths:
- src/

checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false

bootstrapFiles:
- phpstan-bootstrap.php

ignoreErrors:
-
message: '#PHPDoc tag @param has invalid value \(\\Monolog\\Formatter\\JsonFormatter::BATCH_MODE_#'
Expand Down

0 comments on commit 5ebb368

Please sign in to comment.