add phpstan config file, ignore broken files because of optional lib

and add it to action
This commit is contained in:
Nicolas CARPi
2022-12-09 18:32:43 +01:00
parent 887f261c88
commit 58a9628a57
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -25,4 +25,5 @@ jobs:
- uses: ramsey/composer-install@v1 - uses: ramsey/composer-install@v1
- run: composer lint-ci - run: composer lint-ci
- run: composer phpstan
- run: composer test - run: composer test
+12
View File
@@ -0,0 +1,12 @@
parameters:
level: 3
excludePaths:
- %currentWorkingDirectory%/lib/Providers/Qr/BaconQrCodeProvider.php
- %currentWorkingDirectory%/lib/Providers/Qr/EndroidQrCodeProvider.php
- %currentWorkingDirectory%/lib/Providers/Qr/EndroidQrCodeWithLogoProvider.php
paths:
- %currentWorkingDirectory%/lib
- %currentWorkingDirectory%/tests