Skip to content

Patch 1

Patch 1 #10412

Triggered via pull request January 23, 2025 02:43
Status Failure
Total duration 1m 15s
Artifacts

main.yml

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

Annotations

37 errors
PHP 8.1 / PHPUnit tests
Process completed with exit code 2.
PHP 8.3 / PHPUnit tests
Process completed with exit code 2.
PHP 8.2 / PHPUnit tests
Process completed with exit code 2.
PHP 8.1 / Integration tests
Process completed with exit code 1.
PHP 8.2 / Integration tests
Process completed with exit code 1.
PHP 8.3 / Integration tests
Process completed with exit code 1.
Code Style checks
Process completed with exit code 8.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L15
Property pocketmine\form\FormAPI\CustomForm::$validationMethods type has no signature specified for callable.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L20
Method pocketmine\form\FormAPI\CustomForm::__construct() has parameter $callable with no value type specified in iterable type array.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L21
Parameter #1 $callable of method pocketmine\form\FormAPI\IForm::__construct() expects (callable(pocketmine\player\Player, mixed): void)|null, (callable(array|null): void)|null given.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L36
Unsafe foreach on array with key type (int|string) (they might be casted to int).
PHP 8.2 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L63
Method pocketmine\form\FormAPI\CustomForm::getTitle() should return string but returns mixed.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L169
Cannot access an offset on mixed.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L37
Instantiated class pocketmine\form\FormAPI\FormValidationException not found.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L37
Throwing object of an unknown class pocketmine\form\FormAPI\FormValidationException.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L40
Instantiated class pocketmine\form\FormAPI\FormValidationException not found.
PHP 8.2 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L40
Throwing object of an unknown class pocketmine\form\FormAPI\FormValidationException.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L15
Property pocketmine\form\FormAPI\CustomForm::$validationMethods type has no signature specified for callable.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L20
Method pocketmine\form\FormAPI\CustomForm::__construct() has parameter $callable with no value type specified in iterable type array.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L21
Parameter #1 $callable of method pocketmine\form\FormAPI\IForm::__construct() expects (callable(pocketmine\player\Player, mixed): void)|null, (callable(array|null): void)|null given.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L36
Unsafe foreach on array with key type (int|string) (they might be casted to int).
PHP 8.1 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L63
Method pocketmine\form\FormAPI\CustomForm::getTitle() should return string but returns mixed.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L169
Cannot access an offset on mixed.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L37
Instantiated class pocketmine\form\FormAPI\FormValidationException not found.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L37
Throwing object of an unknown class pocketmine\form\FormAPI\FormValidationException.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L40
Instantiated class pocketmine\form\FormAPI\FormValidationException not found.
PHP 8.1 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L40
Throwing object of an unknown class pocketmine\form\FormAPI\FormValidationException.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L15
Property pocketmine\form\FormAPI\CustomForm::$validationMethods type has no signature specified for callable.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L20
Method pocketmine\form\FormAPI\CustomForm::__construct() has parameter $callable with no value type specified in iterable type array.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L21
Parameter #1 $callable of method pocketmine\form\FormAPI\IForm::__construct() expects (callable(pocketmine\player\Player, mixed): void)|null, (callable(array|null): void)|null given.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L36
Unsafe foreach on array with key type (int|string) (they might be casted to int).
PHP 8.3 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L63
Method pocketmine\form\FormAPI\CustomForm::getTitle() should return string but returns mixed.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/CustomForm.php#L169
Cannot access an offset on mixed.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L37
Instantiated class pocketmine\form\FormAPI\FormValidationException not found.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L37
Throwing object of an unknown class pocketmine\form\FormAPI\FormValidationException.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L40
Instantiated class pocketmine\form\FormAPI\FormValidationException not found.
PHP 8.3 / PHPStan analysis: src/form/FormAPI/SimpleForm.php#L40
Throwing object of an unknown class pocketmine\form\FormAPI\FormValidationException.