Repository navigation
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
65 lines (64 loc) · 2.06 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
65 lines (64 loc) · 2.06 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
includes:
- phpstan-disallowed-calls.neon
parameters:
level: max
# Requires #[\Override] on every overriding method, so PHP fails when the method it should override is missing.
checkMissingOverrideMethodAttribute: true
# Not on properties: PHP allows the attribute there only from 8.5 on, and the code still runs on PHP 8.3.
checkMissingOverridePropertyAttribute: false
paths:
- src/
- Tests/Architecture/
- Tests/Integration/
- Tests/Support/
- Tests/Unit/
- Tests/bootstrap.php
- Tests/test-environment.php
- autoload.php
- account.php
- all_db.php
- all_db_export.php
- alter_db.php
- alter_role.php
- alter_tablespace.php
- browser.php
- change_password.php
- create_db.php
- create_role.php
- create_tablespace.php
- dbexport.php
- drop_db.php
- drop_role.php
- drop_tablespace.php
- history.php
- history_clear.php
- history_delete.php
- history_download.php
- index.php
- intro.php
- languages.php
- login.php
- logout.php
- roles.php
- server-logout.php
- servers.php
- servers-tree.php
- sqledit.php
- tablespaces.php
excludePaths:
- vendor/
# Only to know the legacy classes, which no autoloader loads. LegacyTest does not see the classes it does not know.
scanDirectories:
- classes/
- libraries/
- plugins/
phpat:
ignore_built_in_classes: true
show_rule_names: true
services:
- { tags: [phpat.test], class: Tests\Architecture\DDD\DomainTest }
- { tags: [phpat.test], class: Tests\Architecture\DDD\ValueObjectsTest }
- { tags: [phpat.test], class: Tests\Architecture\ExceptionsTest }
- { tags: [phpat.test], class: Tests\Architecture\LayersTest }
- { tags: [phpat.test], class: Tests\Architecture\LegacyTest }
- { tags: [phpat.test], class: Tests\Architecture\WebsiteTest }