Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jul 21, 2020
1 parent ccb43c7 commit 933c4d2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:
checkMissingIterableValueType: false
paths:
- class-wp-bootstrap-navwalker.php
autoload_files:
scanFiles:
- tests/phpstan/class-wp-nav-menu-args.php
- tests/phpstan/class-wp-nav-menu-item.php
- class-wp-bootstrap-navwalker.php
Expand All @@ -22,3 +22,7 @@ parameters:
-
message: '#^Method WP_Bootstrap_Navwalker::(start_lvl|start_el)\(\) has no return typehint specified\.$#'
path: class-wp-bootstrap-navwalker.php
# Uncertain properties.
-
message: '#^Property WP_Nav_Menu_Args::\$\S+ \(string\) in isset\(\) is not nullable\.$#'
path: class-wp-bootstrap-navwalker.php

0 comments on commit 933c4d2

Please sign in to comment.