diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f68f632..cfcf0af 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -31,7 +31,9 @@ jobs: tools: phpcs - name: Setup dependencies - run: composer require -n --no-progress overtrue/phplint phpstan/phpstan + run: | + composer require -n --no-progress overtrue/phplint phpstan/phpstan + sudo cp -R vendor /usr/share/icinga-php - name: PHP Lint if: ${{ ! cancelled() }} diff --git a/phpstan.neon b/phpstan.neon index 5c03267..303e5ef 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -8,6 +8,9 @@ parameters: paths: - src + scanDirectories: + - /usr/share/icinga-php + ignoreErrors: - messages: