Update VanillaCameraPresets.php #20
main.yml
on: push
Code Style checks
38s
ShellCheck
6s
Matrix: all-php-versions
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.
|