Skip to content

Commit

Permalink
PHPStan: Exclude static analysis of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 committed Jan 16, 2024
1 parent a0fba39 commit 80d566f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ parameters:

excludePaths:
- library/Director/CoreBeta
- test
- library/Director/Test

universalObjectCratesClasses:
- Icinga\Module\Director\Data\Db\DbObject
Expand Down

0 comments on commit 80d566f

Please sign in to comment.