This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #3265219 by chr.fritsch, volkerk: Fix coding style issues and a…
…chieve phpstan lvl6 * feat: phpstan lvl6 * empty * empty * empty * empty * fix: stuff * fix: foo * fix: foo
- Loading branch information
1 parent
e9c637d
commit f29878c
Showing
34 changed files
with
169 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
parameters: | ||
customRulesetUsed: true | ||
reportUnmatchedIgnoredErrors: false | ||
# Ignore phpstan-drupal extension's rules. | ||
checkGenericClassInNonGenericObjectType: false | ||
checkMissingIterableValueType: false | ||
reportUnmatchedIgnoredErrors: true | ||
level: 6 | ||
ignoreErrors: | ||
- '#\Drupal calls should be avoided in classes, use dependency injection instead#' | ||
- '#Plugin definitions cannot be altered.#' | ||
- '#Missing cache backend declaration for performance.#' | ||
- '#Plugin manager has cache backend specified but does not declare cache tags.#' | ||
#TODO: Remove when https://www.drupal.org/project/drupal/issues/2367933 is fixed. | ||
- '#If the entity form display is available in configuration use#' | ||
- '#\Call to an undefined method Drupal\\Tests\\WebAssert::#' | ||
- "#^Unsafe usage of new static\\(\\)\\.$#" | ||
- "#https:\/\/www.drupal.org\/node\/3083055#" | ||
- "#Function drupal_phpunit_find_extension_directories not found.#" | ||
# Drupal allows object property access to custom fields, so we cannot fix | ||
# that. | ||
- "#^Access to an undefined property Drupal\\\\#" | ||
includes: | ||
- ./vendor/mglaman/phpstan-drupal/extension.neon | ||
- ./vendor/phpstan/phpstan-deprecation-rules/rules.neon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.