phpstan.neon 1.26 KB
Newer Older
1
2
includes:
  - phpstan-baseline.neon
3
  - ../../vendor/bnf/phpstan-psr-container/extension.neon
4
  - ../../vendor/friendsoftypo3/phpstan-typo3/extension.neon
5
  - ../../vendor/jangregor/phpstan-prophecy/extension.neon
6
  - ../../vendor/phpstan/phpstan-phpunit/extension.neon
7
8
9
10
11

parameters:
  # Use local .cache dir instead of /tmp
  tmpDir: ../../.cache/phpstan

12
  level: 5
13
14
15
16
17
18
19
20
21
22
23
24
25
26

  bootstrapFiles:
    - phpstan-constants.php

  paths:
    - ../../typo3/sysext/

  excludePaths:
    # Checking acceptance Cest and Support files is cumbersome due to codeception dynamic mixin generation
    - ../../typo3/sysext/core/Tests/Acceptance/*
    # These test fixtures *could* be streamlined but currently generate lots of failures
    - ../../typo3/sysext/install/Tests/Unit/ExtensionScanner/Php/Matcher/Fixtures/*
    # ext_emconf.php get the $_EXTKEY set from outsite. We'll ignore all of them
    - ../../typo3/sysext/*/ext_emconf.php
27
28
29
30
    # contains broken syntax for testing-purpose, which cannot be disabled directly
    - ../../typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyController.php
    # contains broken syntax for testing-purpose, which cannot be disabled directly
    - ../../typo3/sysext/extbase/Tests/Unit/Reflection/Fixture/DummyControllerWithIgnoreValidationDoctrineAnnotation.php