PHPStan: Exclude static analysis of tests

This commit is contained in:
raviks789 2024-01-16 14:23:43 +01:00
parent a0fba398a1
commit 80d566f42d
2 changed files with 2 additions and 5 deletions

View File

@ -510,11 +510,6 @@ parameters:
count: 3
path: library/Director/ProvidedHook/IcingaDbCubeLinks.php
-
message: "#^Call to an undefined method Icinga\\\\Module\\\\Director\\\\Test\\\\TestSuiteUnit\\:\\:newTempfile\\(\\)\\.$#"
count: 1
path: library/Director/Test/TestSuiteUnit.php
-
message: "#^Access to an undefined property Zend_Controller_Action_HelperBroker\\:\\:\\$viewRenderer\\.$#"
count: 1

View File

@ -25,6 +25,8 @@ parameters:
excludePaths:
- library/Director/CoreBeta
- test
- library/Director/Test
universalObjectCratesClasses:
- Icinga\Module\Director\Data\Db\DbObject