Bump the github-actions group across 1 directory with 2 updates #1483
main.yml
on: pull_request
Code Style checks
37s
ShellCheck
3s
Matrix: all-php-versions
Annotations
31 errors
Code Style checks
Process completed with exit code 8.
|
PHP 8.1 / PHPStan analysis:
src/block/MossCarpet.php#L40
Return type (array<pocketmine\math\AxisAlignedBB>) of method pocketmine\block\MossCarpet::recalculateCollisionBoxes() should be covariant with return type (list<pocketmine\math\AxisAlignedBB>) of method pocketmine\block\Flowable::recalculateCollisionBoxes()
|
PHP 8.1 / PHPStan analysis:
src/network/mcpe/cache/ChunkCache.php#L109
Method pocketmine\network\mcpe\cache\ChunkCache::prepareChunkAsync() should return pocketmine\network\mcpe\compression\CompressBatchPromise but returns pocketmine\network\mcpe\compression\CompressBatchPromise|string.
|
PHP 8.1 / PHPStan analysis:
src/network/mcpe/convert/TypeConverter.php#L84
Call to method pocketmine\network\mcpe\convert\TypeConverter::__protocolConstruct() on a separate line has no effect.
|
PHP 8.1 / PHPStan analysis:
src/world/World.php#L742
Call to an undefined method pocketmine\world\sound\Sound::setProtocolId().
|
PHP 8.1 / PHPStan analysis:
src/world/sound/NoteSound.php#L46
Loose comparison via "==" is not allowed.
|
PHP 8.1 / PHPStan analysis:
src/world/sound/NoteSound.php#L46
Loose comparison via "==" is not allowed.
|
PHP 8.1 / PHPStan analysis:
src/world/sound/NoteSound.php#L48
Loose comparison via "==" is not allowed.
|
PHP 8.1 / PHPStan analysis:
src/world/sound/NoteSound.php#L48
Loose comparison via "==" is not allowed.
|
PHP 8.1 / PHPStan analysis:
tools/generate-bedrock-data-from-packets.php#L343
Parameter #3 $output of class pocketmine\crafting\json\ShapedRecipeData constructor expects list<pocketmine\crafting\json\ItemStackData>, array<pocketmine\crafting\json\ItemStackData> given.
|
PHP 8.1 / PHPStan analysis:
tools/generate-bedrock-data-from-packets.php#L346
Parameter #6 $unlockingIngredients of class pocketmine\crafting\json\ShapedRecipeData constructor expects list<pocketmine\crafting\json\RecipeIngredientData>, array<pocketmine\crafting\json\RecipeIngredientData> given.
|
PHP 8.2 / PHPStan analysis:
src/block/MossCarpet.php#L40
Return type (array<pocketmine\math\AxisAlignedBB>) of method pocketmine\block\MossCarpet::recalculateCollisionBoxes() should be covariant with return type (list<pocketmine\math\AxisAlignedBB>) of method pocketmine\block\Flowable::recalculateCollisionBoxes()
|
PHP 8.2 / PHPStan analysis:
src/network/mcpe/cache/ChunkCache.php#L109
Method pocketmine\network\mcpe\cache\ChunkCache::prepareChunkAsync() should return pocketmine\network\mcpe\compression\CompressBatchPromise but returns pocketmine\network\mcpe\compression\CompressBatchPromise|string.
|
PHP 8.2 / PHPStan analysis:
src/network/mcpe/convert/TypeConverter.php#L84
Call to method pocketmine\network\mcpe\convert\TypeConverter::__protocolConstruct() on a separate line has no effect.
|
PHP 8.2 / PHPStan analysis:
src/world/World.php#L742
Call to an undefined method pocketmine\world\sound\Sound::setProtocolId().
|
PHP 8.2 / PHPStan analysis:
src/world/sound/NoteSound.php#L46
Loose comparison via "==" is not allowed.
|
PHP 8.2 / PHPStan analysis:
src/world/sound/NoteSound.php#L46
Loose comparison via "==" is not allowed.
|
PHP 8.2 / PHPStan analysis:
src/world/sound/NoteSound.php#L48
Loose comparison via "==" is not allowed.
|
PHP 8.2 / PHPStan analysis:
src/world/sound/NoteSound.php#L48
Loose comparison via "==" is not allowed.
|
PHP 8.2 / PHPStan analysis:
tools/generate-bedrock-data-from-packets.php#L343
Parameter #3 $output of class pocketmine\crafting\json\ShapedRecipeData constructor expects list<pocketmine\crafting\json\ItemStackData>, array<pocketmine\crafting\json\ItemStackData> given.
|
PHP 8.2 / PHPStan analysis:
tools/generate-bedrock-data-from-packets.php#L346
Parameter #6 $unlockingIngredients of class pocketmine\crafting\json\ShapedRecipeData constructor expects list<pocketmine\crafting\json\RecipeIngredientData>, array<pocketmine\crafting\json\RecipeIngredientData> given.
|
PHP 8.3 / PHPStan analysis:
src/block/MossCarpet.php#L40
Return type (array<pocketmine\math\AxisAlignedBB>) of method pocketmine\block\MossCarpet::recalculateCollisionBoxes() should be covariant with return type (list<pocketmine\math\AxisAlignedBB>) of method pocketmine\block\Flowable::recalculateCollisionBoxes()
|
PHP 8.3 / PHPStan analysis:
src/network/mcpe/cache/ChunkCache.php#L109
Method pocketmine\network\mcpe\cache\ChunkCache::prepareChunkAsync() should return pocketmine\network\mcpe\compression\CompressBatchPromise but returns pocketmine\network\mcpe\compression\CompressBatchPromise|string.
|
PHP 8.3 / PHPStan analysis:
src/network/mcpe/convert/TypeConverter.php#L84
Call to method pocketmine\network\mcpe\convert\TypeConverter::__protocolConstruct() on a separate line has no effect.
|
PHP 8.3 / PHPStan analysis:
src/world/World.php#L742
Call to an undefined method pocketmine\world\sound\Sound::setProtocolId().
|
PHP 8.3 / PHPStan analysis:
src/world/sound/NoteSound.php#L46
Loose comparison via "==" is not allowed.
|
PHP 8.3 / PHPStan analysis:
src/world/sound/NoteSound.php#L46
Loose comparison via "==" is not allowed.
|
PHP 8.3 / PHPStan analysis:
src/world/sound/NoteSound.php#L48
Loose comparison via "==" is not allowed.
|
PHP 8.3 / PHPStan analysis:
src/world/sound/NoteSound.php#L48
Loose comparison via "==" is not allowed.
|
PHP 8.3 / PHPStan analysis:
tools/generate-bedrock-data-from-packets.php#L343
Parameter #3 $output of class pocketmine\crafting\json\ShapedRecipeData constructor expects list<pocketmine\crafting\json\ItemStackData>, array<pocketmine\crafting\json\ItemStackData> given.
|
PHP 8.3 / PHPStan analysis:
tools/generate-bedrock-data-from-packets.php#L346
Parameter #6 $unlockingIngredients of class pocketmine\crafting\json\ShapedRecipeData constructor expects list<pocketmine\crafting\json\RecipeIngredientData>, array<pocketmine\crafting\json\RecipeIngredientData> given.
|