Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • 1.0.x
  • 1.10.0
  • 1.10.x-latest
  • 1.x-latest
  • default-ref
  • 1.9.6
  • 1.9.x-latest
  • 1.9.5
  • 1.9.4
  • 1.9.3
  • 1.9.2
  • 1.9.1
  • 1.9.0
  • 1.8.1
  • 1.8.x-latest
  • 1.8.0
  • 1.7.3
  • 1.7.x-latest
  • 1.7.2
  • 1.7.1
  • 1.7.0
22 results

phpstan.neon

Blame
  • Jonathan Smith's avatar
    Issue #3397162 by jonathan1055, alexpott, fjgarlin, cmlara, simonbaese: Tweak...
    Jonathan Smith authored and Fran Garcia-Linares committed
    Issue #3397162 by jonathan1055, alexpott, fjgarlin, cmlara, simonbaese: Tweak PHPStan config so paths are always correct and baseline is more usable
    a107b7f1
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    phpstan.neon 455 B
    includes:
      # This placeholder filename will be replaced with the value of variable $_PHPSTAN_BASELINE_FILENAME
      - BASELINE_PLACEHOLDER
    parameters:
        level: 0
        fileExtensions:
            - php
            - module
            - inc
            - install
            - theme
            - profile
        reportUnmatchedIgnoredErrors: false
        ignoreErrors:
            # new static() is a best practice in Drupal, so we cannot fix that.
            - "#^Unsafe usage of new static#"