File: phpstan.neon

package info (click to toggle)
php-doctrine-annotations 2.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,552 kB
  • sloc: php: 8,471; xml: 26; makefile: 23
file content (25 lines) | stat: -rw-r--r-- 1,339 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
25
parameters:
    level: 3
    phpVersion: 80200
    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#'