Skip to content

Commit

Permalink
Ignore PHPStan error for PHP7+ isBuiltIn() method
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Mar 18, 2021
1 parent cdaa8c4 commit 223b008
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ parameters:
- '#^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$#'
# Setting src to false indicates a bundle of dependencies.
- '#^Property _WP_Dependency::\$src \(string\) does not accept false\.$#'
# The conditional use of a PHP 7+ method is erroneously flagged.
- '#^Call to an undefined method ReflectionType::isBuiltin\(\)\.$#'
earlyTerminatingMethodCalls:
\WP_CLI:
- WP_CLI::error

0 comments on commit 223b008

Please sign in to comment.