Skip to content

Commit

Permalink
more phpstan coverage (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 14, 2020
1 parent 7154107 commit 95d6267
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 29 deletions.
83 changes: 54 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
parameters:
ignoreErrors:
-
message: "#^Variable \\$this might not be defined\\.$#"
count: 10
path: docs.php

-
message: "#^Variable \\$navi_list might not be defined\\.$#"
count: 1
path: docs.php

-
message: "#^Method rex_yrewrite_settings\\:\\:getAddon\\(\\) should return rex_addon but returns rex_addon_interface\\.$#"
count: 1
Expand Down
6 changes: 6 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,11 @@ includes:
parameters:
level: 5
paths:
- boot.php
- docs.php
- help.php
- install.php
- uninstall.php
- update.php
- lib/

0 comments on commit 95d6267

Please sign in to comment.