phpstan: Scan /usr/share/icinga-php
instead of vendor
#2
Annotations
12 errors
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
src/Locale.php#L89
Argument of an invalid type array<string, array<int, string>|string>|false supplied for foreach, only iterables are supported.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
src/Locale.php#L102
Argument of an invalid type array<string, string>|false supplied for foreach, only iterables are supported.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest:
src/Locale.php#L111
Cannot access offset non-falsy-string on non-empty-array<string, string>|false.
|
phpstan / Static analysis with phpstan and php 7.4 on ubuntu-latest
Process completed with exit code 1.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
src/Locale.php#L89
Argument of an invalid type array<string, array<int, string>|string>|false supplied for foreach, only iterables are supported.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
src/Locale.php#L102
Argument of an invalid type array<string, string>|false supplied for foreach, only iterables are supported.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest:
src/Locale.php#L111
Cannot access offset non-falsy-string on non-empty-array<string, string>|false.
|
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest
Process completed with exit code 1.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
src/Locale.php#L89
Argument of an invalid type array<string, array<int, string>|string>|false supplied for foreach, only iterables are supported.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
src/Locale.php#L102
Argument of an invalid type array<string, string>|false supplied for foreach, only iterables are supported.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest:
src/Locale.php#L111
Cannot access offset non-falsy-string on non-empty-array<string, string>|false.
|
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest
Process completed with exit code 1.
|