Skip to content

Commit

Permalink
Merge pull request #2005 from MasterOdin/mpeveler/chore-phpstan-baseline
Browse files Browse the repository at this point in the history
Add baseline for phpstan to workaround analysis bug
  • Loading branch information
dereuromark committed Jul 28, 2021
2 parents 9fc7d7f + f41e36c commit d2ed1b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
parameters:
ignoreErrors:
-
message: "#^Call to function is_subclass_of\\(\\) with non\\-empty\\-string and 'Phinx\\\\\\\\Migration…' will always evaluate to false\\.$#"
count: 1
path: src/Phinx/Console/Command/Create.php

3 changes: 3 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
includes:
- phpstan-baseline.neon

parameters:
level: 6
treatPhpDocTypesAsCertain: false
Expand Down

0 comments on commit d2ed1b4

Please sign in to comment.