forked from sebastianbergmann/phpunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan-tests.neon
22 lines (18 loc) · 1021 Bytes
/
phpstan-tests.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
ignoreErrors:
# parent calls are intentionally omitted
- '#Issue244Exception::__construct\(\) does not call parent constructor from Exception.#'
- '#Issue244ExceptionIntCode::__construct\(\) does not call parent constructor from Exception.#'
# these constants are defined in PHPUnit configuration XML, so they can't be detected in PHPStan
- '#Constant PHPUNIT_1330 not found.#'
- '#Constant FOO not found.#'
- '#Constant BAR not found.#'
# global constants does not work properly in PHPStan yet https://github.com/phpstan/phpstan/issues/768
- '#Constant TEST_FILES_PATH not found.#'
- '#Constant GITHUB_ISSUE not found.#'
# This access to undefined property is legit
- '#Access to an undefined property SplObjectStorage::\$foo#'
excludes_analyse:
# duplicated classname OneTest
- tests/_files/phpunit-example-extension/tests/OneTest.php
- tests/Regression/Trac/783/OneTest.php