mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 18:04:03 +00:00
Fix some PHPStan errors
This commit is contained in:
parent
1b2bfb2945
commit
1970b01773
4 changed files with 22 additions and 12 deletions
10
phpstan.neon
10
phpstan.neon
|
|
@ -10,11 +10,9 @@ parameters:
|
|||
universalObjectCratesClasses:
|
||||
- Illuminate\Routing\Route
|
||||
- ArchTech\SEO\SEOManager
|
||||
checkMissingIterableValueType: false
|
||||
|
||||
ignoreErrors:
|
||||
- '#SEOManager\|array\|string\|null#'
|
||||
- '#string\|false given#'
|
||||
- '#flipp\(\) should return#'
|
||||
- '#\_\_set\(\) has no return typehint specified#'
|
||||
|
||||
checkMissingIterableValueType: false
|
||||
# Waiting for https://github.com/phpstan/phpstan/issues/5706
|
||||
- '#^Cannot call method (flipp|get|set)\(\) on ArchTech\\SEO\\SEOManager\|array\|string\|null\.$#'
|
||||
- '#^Method ArchTech\\SEO\\SEOManager::flipp\(\) should return static\(ArchTech\\SEO\\SEOManager\)\|string but returns array\|string\|null\.$#'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue