summaryrefslogtreecommitdiff
path: root/phpstan.neon
blob: ba425e3d96ad31b4f5453dd3f6140bb4db4bb4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
parameters:
   level: 5
   ignoreErrors:
#      - '#Constant.*not found#'
      - '#Comparison operation ">" between int<1, max> and 0 is always true.#'
      - '#Access to an undefined property DOMNode::\$tagName.#'
      - '#Call to an undefined method DOMNode::(get|remove|set)Attribute\(\).#'
      - '#PHPDoc tag @param has invalid value#'
      - message: '##'
        paths:
          - lib/*
          - vendor/*
          - plugins/*/vendor/*
          - plugins.local/*/vendor/*

   excludePaths:
      - node_modules/*
   paths:
      - .