Skip to content

Commit

Permalink
phpstan generate baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
grummbeer committed Dec 7, 2023
1 parent dded38a commit dc5abf3
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
parameters:
ignoreErrors:
-
message: "#^Argument of an invalid type DOMDocument supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/AccountMatcher.php

-
message: "#^Method AqBanking\\\\AccountMatcher\\:\\:__construct\\(\\) has parameter \\$array with no type specified\\.$#"
count: 1
path: src/AccountMatcher.php

-
message: "#^Method AqBanking\\\\AccountMatcher\\:\\:getExistingAccount\\(\\) has no return type specified\\.$#"
count: 1
path: src/AccountMatcher.php

-
message: "#^Method AqBanking\\\\Arrayable\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Arrayable.php

-
message: "#^Method AqBanking\\\\Command\\\\ListAccountsCommand\\:\\:execute\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Command/ListAccountsCommand.php

-
message: "#^Method AqBanking\\\\ContextXmlRenderer\\:\\:renderMultiLineElement\\(\\) has parameter \\$nodes with generic class DOMNodeList but does not specify its types\\: TNode$#"
count: 1
path: src/ContextXmlRenderer.php

-
message: "#^Method AqBanking\\\\ContextXmlRenderer\\:\\:renderSimpleTextElement\\(\\) has parameter \\$valueNodes with generic class DOMNodeList but does not specify its types\\: TNode$#"
count: 1
path: src/ContextXmlRenderer.php

-
message: "#^Access to an undefined property AqBanking\\\\UserMatcher\\:\\:\\$xPath\\.$#"
count: 2
path: src/UserMatcher.php

-
message: "#^Method AqBanking\\\\UserMatcher\\:\\:getExistingUser\\(\\) has no return type specified\\.$#"
count: 1
path: src/UserMatcher.php
2 changes: 2 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
includes:
- phpstan-baseline.neon
parameters:
level: 6
paths:
Expand Down

0 comments on commit dc5abf3

Please # to comment.