Mace Implementation #9477
main.yml
on: pull_request
Code Style checks
31s
ShellCheck
4s
Matrix: all-php-versions
Annotations
13 errors
Code Style checks
Process completed with exit code 8.
|
PHP 8.1 / PHPStan analysis:
src/item/Mace.php#L35
Property pocketmine\item\Mace::$demager has unknown class pocketmine\item\EntityDamageByEntityEvent as its type.
|
PHP 8.1 / PHPStan analysis:
src/item/Mace.php#L35
Property pocketmine\item\Mace::$demager is unused.
|
PHP 8.1 / PHPStan analysis:
src/item/Mace.php#L74
Call to an undefined method pocketmine\event\entity\EntityDamageEvent::getDamager().
|
PHP 8.1 / PHPStan analysis
Process completed with exit code 1.
|
PHP 8.3 / PHPStan analysis:
src/item/Mace.php#L35
Property pocketmine\item\Mace::$demager has unknown class pocketmine\item\EntityDamageByEntityEvent as its type.
|
PHP 8.3 / PHPStan analysis:
src/item/Mace.php#L35
Property pocketmine\item\Mace::$demager is unused.
|
PHP 8.3 / PHPStan analysis:
src/item/Mace.php#L74
Call to an undefined method pocketmine\event\entity\EntityDamageEvent::getDamager().
|
PHP 8.3 / PHPStan analysis
Process completed with exit code 1.
|
PHP 8.2 / PHPStan analysis:
src/item/Mace.php#L35
Property pocketmine\item\Mace::$demager has unknown class pocketmine\item\EntityDamageByEntityEvent as its type.
|
PHP 8.2 / PHPStan analysis:
src/item/Mace.php#L35
Property pocketmine\item\Mace::$demager is unused.
|
PHP 8.2 / PHPStan analysis:
src/item/Mace.php#L74
Call to an undefined method pocketmine\event\entity\EntityDamageEvent::getDamager().
|
PHP 8.2 / PHPStan analysis
Process completed with exit code 1.
|