File: phpstan.neon

package info (click to toggle)
php-doctrine-annotations 2.0.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,068 kB
  • sloc: php: 8,441; makefile: 26; xml: 15
file content (24 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
parameters:
    level: 3
    paths:
        - lib
        - tests
    scanFiles:
        - tests/Doctrine/Tests/Common/Annotations/Fixtures/GlobalNamespacesPerFileWithClassAsFirst.php
        - tests/Doctrine/Tests/Common/Annotations/Fixtures/GlobalNamespacesPerFileWithClassAsLast.php
        - tests/Doctrine/Tests/Common/Annotations/Fixtures/NonNamespacedClass.php
        - tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php
    excludePaths:
        - tests/*/Fixtures/*
        - tests/Doctrine/Tests/Common/Annotations/ReservedKeywordsClasses.php
        - tests/Doctrine/Tests/Common/Annotations/Ticket/DCOM58Entity.php
        - tests/Doctrine/Tests/DoctrineTestCase.php
        - tests/Doctrine/Tests/Common/Annotations/CachedReaderTest.php
    polluteScopeWithLoopInitialAssignments: true
    ignoreErrors:
        - '#Instantiated class Doctrine_Tests_Common_Annotations_Fixtures_ClassNoNamespaceNoComment not found#'
        - '#Property Doctrine\\Tests\\Common\\Annotations\\DummyClassNonAnnotationProblem::\$foo has unknown class#'
        - '#Call to an undefined static method PHPUnit\\Framework\\TestCase::expectExceptionMessageRegExp\(\)#'

        # That tag is empty on purpose
        - '#PHPDoc tag @var has invalid value \(\)\: Unexpected token "\*/", expected type at offset 9#'