Fix phpstan/phpstan#11100: Possibly impure call to function array_map() in pure method - false positive #25931
Annotations
10 errors
|
PHPStan:
src/item/Item.php#L741
Cannot cast mixed to int.
|
|
PHPStan:
src/item/Item.php#L740
Cannot cast mixed to int.
|
|
PHPStan:
src/item/Item.php#L739
Cannot cast mixed to int.
|
|
PHPStan:
src/command/defaults/WhitelistCommand.php#L92
Parameter #2 $array of function implode expects array<string>, list<mixed> given.
|
|
PHPStan:
src/command/defaults/WhitelistCommand.php#L91
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
|
PHPStan:
src/command/defaults/TeleportCommand.php#L101
Casting to *NEVER* something that's already *NEVER*.
|
|
PHPStan:
src/command/defaults/TeleportCommand.php#L100
Casting to *NEVER* something that's already *NEVER*.
|
|
PHPStan:
src/Server.php#L1192
Cannot cast mixed to string.
|
|
PHPStan:
src/Server.php#L758
Ignored error pattern #^Cannot cast mixed to string\.$# (cast.string) in path /home/runner/work/phpstan-src/phpstan-src/e2e/integration/repo/src/Server.php is expected to occur 1 time, but occurred 2 times.
|
|
PHPStan:
build/generate-block-serializer-consts.php#L181
Parameter #1 $array of function sort expects an array of values castable to string, array<mixed> given.
|
Loading