summaryrefslogtreecommitdiff
path: root/phpstan.neon
blob: 8f0447e807eb669e58a12e685b65607104bcf866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
parameters:
   level: 6
   ignoreErrors:
      - '#Constant.*\b(SUBSTRING_FOR_DATE|SCHEMA_VERSION|SELF_USER_AGENT|LABEL_BASE_INDEX|PLUGIN_FEED_BASE_INDEX)\b.*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|has)Attribute\(\).#'
      - '#Call to an undefined method DOMNode::(getElementsByTagName)\(\).#'
      - '#PHPDoc tag @param has invalid value#'
      - message: '##'
        paths:
          - lib/*
          - vendor/*
          - plugins/*/vendor/*
          - plugins.local/*/vendor/*
   excludePaths:
      - node_modules/*
      - vendor/**/tests/*
      - vendor/**/test/*
      - plugins/**/tests/*
      - plugins/**/Test/*
      - plugins.local/**/tests/*
      - plugins/**/test/*
      - plugins.local/**/test/*
      - plugins.local/*/vendor/intervention/*
   paths:
      - .