summaryrefslogtreecommitdiff
path: root/phpstan.neon
blob: 8b0c352a25d6066c556f6c9bdfca374e49adadcf (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
28
29
30
31
32
33
parameters:
   level: 6
   tmpDir: .phpstan-tmp
   parallel:
      maximumNumberOfProcesses: 4
   reportUnmatchedIgnoredErrors: false
   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.#'
      - message: '##'
        paths:
          - lib/*
          - vendor/*
          - plugins/*/vendor/*
          - plugins.local/*/vendor/*
   excludePaths:
      - lib/**/test/*
      - lib/**/tests/*
      - lib/dojo-src/*
      - node_modules/*
      - plugins.local/**/test/*
      - plugins.local/**/tests/*
      - plugins.local/*/vendor/intervention/*
      - plugins.local/*/vendor/psr/log/*
      - plugins.local/cache_s3/vendor/*
      - plugins/**/test/*
      - plugins/**/Test/*
      - plugins/**/tests/*
      - plugins/*/vendor/intervention/*
      - plugins/*/vendor/psr/log/*
      - vendor/**/*
   paths:
      - .