forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
62 lines (61 loc) · 1.72 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
62 lines (61 loc) · 1.72 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
includes:
- .phpstan/phpstan.github.neon
parameters:
bootstrapFiles:
- .phpstan/phpstan_panther_alias.php
- .phpstan/phpstan_include_paths.php
- .phpstan/phpstan_legacy_aliases.php
level: 10
# Set tmpDir explicitly so we know what it is
tmpDir: tmp-phpstan
excludePaths:
# excluding for easy dev setups since ccdaservice is a path below
- ccdaservice/node_modules/*
# oe-module-claimrev-connect is a Composer dependency
# (claimrevolution/oe-module-claimrev-connect), relocated into this path by the
# oe-module-installer-plugin during `composer install`. It is third-party code,
# not maintained in this repo, so exclude it from analysis the same way vendor/
# is excluded.
- interface/modules/custom_modules/oe-module-claimrev-connect/*
paths:
- Documentation
- _rest_routes.inc.php
- acl_upgrade.php
- admin.php
- apis
- ccdaservice
- ccr
- cli
- config
- contrib
- controller.php
- controllers
- custom
- gacl
- index.php
- interface
- ippf_upgrade.php
- library
- oauth2
- portal
- setup.php
- sites
- sphere
- sql_patch.php
- sql_upgrade.php
- src
- templates
- tests
- tools/release/bin
- tools/release/src
- version.php
scanFiles:
- library/sql.inc.php
- interface/modules/custom_modules/oe-module-faxsms/.phpstan/SignalWireStubs.php
# Stubs for legacy constants that are defined at runtime but whose define()
# calls PHPStan can't follow (dynamic require paths / external PEAR libs).
# See each stub file's header for what it covers.
- .phpstan/stubs/postcalendar_constants.php
- .phpstan/stubs/sasl_constants.php
# For reasons I can't sort out, using scanDirectories or stubFiles doesn't work here.
- .phpstan/stubs/pdo_mysql.stub