Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Mar 13, 2022
1 parent 6e8773f commit 7e0109d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions phpstan-baseline.neon
@@ -0,0 +1,12 @@
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Database\\\\Query\\\\Builder\\:\\:unless\\(\\)\\.$#"
count: 1
path: src/Taxonomy.php

-
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Database\\\\Query\\\\Builder\\:\\:when\\(\\)\\.$#"
count: 1
path: src/Taxonomy.php

1 change: 0 additions & 1 deletion phpstan.neon.dist
Expand Up @@ -13,7 +13,6 @@ parameters:
ignoreErrors:
- '#Unsafe usage of new static#'
- '#Call to an undefined method Illuminate\\Database\\ConnectionInterface::getDriverName\(\)#'
- '#Call to an undefined method Illuminate\\Contracts\\Database\\Query\\Builder::(unless|when)\(\)#'

checkMissingIterableValueType: false
noUnnecessaryCollectionCall: false
Expand Down

0 comments on commit 7e0109d

Please sign in to comment.