Skip to content

Commit f13b719

Browse files
Update Phpstan depedencies and config to scan available modules
- Since modules can provide hook implementaions, it should be scanned.
1 parent 002897b commit f13b719

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/phpstan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ jobs:
1111
with:
1212
dependencies: |
1313
{
14-
"/icingaweb2": "https://github.com/Icinga/icingaweb2.git"
14+
"/icingaweb2" : "https://github.com/Icinga/icingaweb2.git",
15+
"/usr/share/icingaweb2-modules/icingadb" : "https://github.com/Icinga/icingadb-web.git"
1516
}

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ parameters:
1515

1616
scanDirectories:
1717
- /icingaweb2
18-
- /usr/share/icinga-php/ipl
19-
- /usr/share/icinga-php/vendor
18+
- /usr/share/icinga-php
19+
- /usr/share/icingaweb2-modules
2020

2121
ignoreErrors:
2222
-

0 commit comments

Comments
 (0)