Verified Commit 57a7de37 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3260928 by mondrake, mallezie, neclimdul, mglaman: Move more PHPStan...

Issue #3260928 by mondrake, mallezie, neclimdul, mglaman: Move more PHPStan global ignore patterns to baseline
parent 2021dee7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -33,7 +33,8 @@
      "MAINTAINERS.txt",
      "package.json",
      "yarn.lock",
      "misc/cspell/dictionary.txt"
      "misc/cspell/dictionary.txt",
      "phpstan*"
    ],
    "ignoreRegExpList": [
      "^msgstr .*",
+3625 −338

File changed.

Preview size limit exceeded, changes collapsed.

+1 −4
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ parameters:
    # Skip settings.
    - ../*/settings*.php
    # Skip test fixtures.
    - ../*/node_modules/*
    - */tests/fixtures/*.php
    - */tests/fixtures/*.php.gz
    # Skip data files.
@@ -30,10 +31,6 @@ parameters:
    - "#^Unsafe usage of new static#"

    # Ignore common errors for now.
    - "#^Access to an undefined property#"
    - "#^Call to an undefined method#"
    - "#^Cannot unset offset#"
    - "#should return .* but return statement is missing#"
    - "#Drupal calls should be avoided in classes, use dependency injection instead#"
    - "#^Plugin definitions cannot be altered.#"
    - "#^Missing cache backend declaration for performance.#"