Skip to content

Mace Implementation #9477

Mace Implementation

Mace Implementation #9477

Triggered via pull request September 9, 2024 14:35
@KnosTxKnosTx
synchronize #6446
KnosTx:mace
Status Failure
Total duration 1m 41s
Artifacts

main.yml

on: pull_request
Code Style checks
31s
Code Style checks
ShellCheck
4s
ShellCheck
Matrix: all-php-versions
Fit to window
Zoom out
Zoom in

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.