From 147170e58a7acda466189ab829b547dc504e8cb1 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 4 Dec 2023 10:15:49 +0100 Subject: [PATCH] phpstan: Add icingadb module --- .github/workflows/php.yml | 1 + phpstan.neon | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index d163be2b..49e47982 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -37,6 +37,7 @@ jobs: sudo git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-thirdparty.git /usr/share/icinga-php/vendor sudo git clone --depth 1 -b snapshot/nightly https://github.com/Icinga/icinga-php-library.git /usr/share/icinga-php/ipl sudo git clone --depth 1 https://github.com/Icinga/icingaweb2-module-cube.git /usr/share/icingaweb2-modules/cube + sudo git clone --depth 1 https://github.com/Icinga/icingadb-web.git /usr/share/icingaweb2-modules/icingadb - name: Setup Incubator run: | diff --git a/phpstan.neon b/phpstan.neon index 1db016e6..4e67c770 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -21,6 +21,7 @@ parameters: - /usr/share/icinga-php - /usr/share/icingaweb2-modules/incubator - /usr/share/icingaweb2-modules/cube + - /usr/share/icingaweb2-modules/icingadb excludePaths: - library/Director/CoreBeta @@ -33,3 +34,4 @@ parameters: - Icinga\Module\Monitoring\DataView\DataView - Icinga\Web\Session\SessionNamespace - Icinga\User\Preferences + - ipl\Orm\Model