about summary refs log tree commit diff stats
path: root/phpstan.neon
blob: 77dac2f1c51a41d3b4bdf1a43d9126ce91ca4634 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
parameters:
   level: 6
   phpVersion: 80400
   tmpDir: .phpstan-tmp
   parallel:
      maximumNumberOfProcesses: 4
   reportUnmatchedIgnoredErrors: false
   ignoreErrors:
      # set_include_path detection issue
      - message: '#"(autoload|common)\.php"#'
        identifier: requireOnce.fileNotFound
      # allow passing a 'strlen' string, etc. as the array_filter callback
      - "/Parameter #2 \\$callback of function array_filter expects .+ '.+' given/"
   excludePaths:
      - node_modules/*
      - vendor/**/*
      - lib/**/*
      - tests/*
      - tests_integration/*
   paths:
      - .