Skip to content

Commit

Permalink
phpstan: adds level 0 baseline
Browse files Browse the repository at this point in the history
* contains uncritical non-conforming action hook interface
  • Loading branch information
datengraben committed Dec 23, 2024
1 parent b771e60 commit 322d6a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
parameters:
ignoreErrors:
-
message: "#^Action callback returns bool but should not return anything\\.$#"
count: 1
path: src/Wordpress/CustomPostType/CustomPostType.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:
phpVersion: 70400
scanFiles:
Expand Down

0 comments on commit 322d6a2

Please sign in to comment.