forked from lodash-php/lodash-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
11 lines (11 loc) · 763 Bytes
/
phpstan.neon
File metadata and controls
11 lines (11 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
parameters:
bootstrap: %rootDir%/../../../../../src/bootstrap.php
excludes_analyse:
- %rootDir%/../../../../../src/compiled.php
- %rootDir%/../../../../../src/Lodash.php
- %rootDir%/../../../../../src/internal/memoizeCapped.php # Exclude internal function due to dynamic class usage
ignoreErrors:
- '#PHPDoc tag \@param references unknown parameter \$(comparator|iteratee)#'
- "#Callable '.*internal.*' invoked with \\d+ parameters, [\\d-]+ required.#"
- "#Parameter \\#\\d+ \\$callable of static method Closure::fromCallable\\(\\) expects callable, array\\(object, string\\) given.#"
- "#Parameter \\#1 \\$name of class ReflectionFunction constructor expects Closure\\|string, callable given#"