Skip to content

Commit

Permalink
Ignore errors related to classes coming from slub-web-digas repository
Browse files Browse the repository at this point in the history
This repository can not be included in composer as it is internal repository
  • Loading branch information
beatrycze-volk committed Jan 24, 2025
1 parent 6d9a29a commit afd8d02
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
parameters:
level: 5
paths:
- ../Classes/
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#Class Slub\\SlubWebDigas\\[a-zA-Z0-9\\_] not found\.#'
- '#Method [a-zA-Z0-9\\_]::[a-zA-Z]\(\) has invalid return type Slub\\SlubWebDigas\\[a-zA-Z0-9\\_]\.#'
- '#Parameter \$[a-zA-Z] of method [a-zA-Z0-9\\_]::[a-zA-Z]\(\) has invalid type Slub\\SlubWebDigas\\[a-zA-Z0-9\\_]\.#'
- '#Property [a-zA-Z0-9\\_]::\$[a-zA-Z] has unknown class Slub\\SlubWebDigas\\[a-zA-Z0-9\\_] as is type\.#'
level: 5
paths:
- ../Classes/
treatPhpDocTypesAsCertain: false

0 comments on commit afd8d02

Please sign in to comment.