Skip to content

Update VanillaCameraPresets.php #20

Update VanillaCameraPresets.php

Update VanillaCameraPresets.php #20

Triggered via push November 21, 2024 12:32
Status Failure
Total duration 1m 58s
Artifacts

main.yml

on: push
Code Style checks
38s
Code Style checks
ShellCheck
6s
ShellCheck
Matrix: all-php-versions
Fit to window
Zoom out
Zoom in

Annotations

34 errors
PHP 8.1 / Generated Code consistency checks
Process completed with exit code 255.
PHP 8.3 / Generated Code consistency checks
Process completed with exit code 255.
PHP 8.2 / Generated Code consistency checks
Process completed with exit code 255.
Code Style checks
Process completed with exit code 8.
PHP 8.3 / PHPStan analysis: src/Server.php#L970
If condition is always true.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L72
Method pocketmine\command\Command::__construct() has parameter $overloads with no value type specified in iterable type array.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L78
Construct empty() is not allowed. Use more strict comparison.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L236
Access to an undefined property pocketmine\command\Command::$commandData.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L245
Cannot access offset int on pocketmine\network\mcpe\protocol\types\command\CommandParameter.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L253
Property pocketmine\command\Command::$overloads (array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>) does not accept array<array<int, pocketmine\network\mcpe\protocol\types\command\CommandParameter>|pocketmine\network\mcpe\protocol\types\command\CommandParameter>.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L261
Cannot access offset int on pocketmine\network\mcpe\protocol\types\command\CommandParameter.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L278
Method pocketmine\command\Command::getOverload() should return array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>|null but returns pocketmine\network\mcpe\protocol\types\command\CommandParameter|null.
PHP 8.3 / PHPStan analysis: src/command/Command.php#L285
Method pocketmine\command\Command::getOverloads() should return array<array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>> but returns array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>.
PHP 8.3 / PHPStan analysis: src/command/defaults/EffectCommand.php#L139
Method pocketmine\command\defaults\EffectCommand::getEffects() return type has no value type specified in iterable type array.
PHP 8.2 / PHPStan analysis: src/Server.php#L970
If condition is always true.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L72
Method pocketmine\command\Command::__construct() has parameter $overloads with no value type specified in iterable type array.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L78
Construct empty() is not allowed. Use more strict comparison.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L236
Access to an undefined property pocketmine\command\Command::$commandData.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L245
Cannot access offset int on pocketmine\network\mcpe\protocol\types\command\CommandParameter.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L253
Property pocketmine\command\Command::$overloads (array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>) does not accept array<array<int, pocketmine\network\mcpe\protocol\types\command\CommandParameter>|pocketmine\network\mcpe\protocol\types\command\CommandParameter>.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L261
Cannot access offset int on pocketmine\network\mcpe\protocol\types\command\CommandParameter.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L278
Method pocketmine\command\Command::getOverload() should return array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>|null but returns pocketmine\network\mcpe\protocol\types\command\CommandParameter|null.
PHP 8.2 / PHPStan analysis: src/command/Command.php#L285
Method pocketmine\command\Command::getOverloads() should return array<array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>> but returns array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>.
PHP 8.2 / PHPStan analysis: src/command/defaults/EffectCommand.php#L139
Method pocketmine\command\defaults\EffectCommand::getEffects() return type has no value type specified in iterable type array.
PHP 8.1 / PHPStan analysis: src/Server.php#L970
If condition is always true.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L72
Method pocketmine\command\Command::__construct() has parameter $overloads with no value type specified in iterable type array.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L78
Construct empty() is not allowed. Use more strict comparison.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L236
Access to an undefined property pocketmine\command\Command::$commandData.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L245
Cannot access offset int on pocketmine\network\mcpe\protocol\types\command\CommandParameter.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L253
Property pocketmine\command\Command::$overloads (array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>) does not accept array<array<int, pocketmine\network\mcpe\protocol\types\command\CommandParameter>|pocketmine\network\mcpe\protocol\types\command\CommandParameter>.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L261
Cannot access offset int on pocketmine\network\mcpe\protocol\types\command\CommandParameter.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L278
Method pocketmine\command\Command::getOverload() should return array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>|null but returns pocketmine\network\mcpe\protocol\types\command\CommandParameter|null.
PHP 8.1 / PHPStan analysis: src/command/Command.php#L285
Method pocketmine\command\Command::getOverloads() should return array<array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>> but returns array<pocketmine\network\mcpe\protocol\types\command\CommandParameter>.
PHP 8.1 / PHPStan analysis: src/command/defaults/EffectCommand.php#L139
Method pocketmine\command\defaults\EffectCommand::getEffects() return type has no value type specified in iterable type array.