Fix string types sorting #16231
Annotations
10 errors
Tests:
src/MemoryManager.php#L117
Offset 1 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
|
Tests:
src/MemoryManager.php#L121
Offset 2 does not exist on array{0?: string, 1?: numeric-string, 2?: 'G'|'g'|'K'|'k'|'M'|'m'}.
|
Tests:
src/command/utils/CommandStringHelper.php#L56
Casting to int something that's already int.
|
Tests:
src/player/Player.php#L802
Call to function is_int() with int will always evaluate to true.
|
Tests:
src/player/Player.php#L802
Call to function is_int() with int will always evaluate to true.
|
Tests:
src/utils/Config.php#L563
Casting to string something that's already string.
|
Tests:
src/utils/Git.php#L42
Strict comparison using !== between string and false will always evaluate to true.
|
Tests:
src/world/format/io/region/RegionWorldProvider.php#L195
Call to function is_int() with int will always evaluate to true.
|
Tests:
src/world/format/io/region/RegionWorldProvider.php#L195
Call to function is_int() with int will always evaluate to true.
|
Tests:
src/world/generator/FlatGeneratorOptions.php#L122
Casting to string something that's already string.
|
Loading