Skip to content

New broadcast subscriber API #9873

New broadcast subscriber API

New broadcast subscriber API #9873

Triggered via pull request November 16, 2024 22:35
Status Failure
Total duration 1m 55s
Artifacts

main.yml

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

Annotations

16 errors
Code Style checks
Process completed with exit code 8.
PHP 8.1 / PHPStan analysis: src/Server.php#L1251
Method pocketmine\Server::getBroadcastChannel() has invalid return type pocketmine\MessageChannel.
PHP 8.1 / PHPStan analysis: src/Server.php#L1259
Access to an undefined property pocketmine\Server::$broadcastChannels.
PHP 8.1 / PHPStan analysis: src/Server.php#L1259
Instantiated class pocketmine\MessageChannel not found.
PHP 8.1 / PHPStan analysis: src/Server.php#L1307
Call to method getPermittedSubscribers() on an unknown class pocketmine\MessageChannel.
PHP 8.1 / PHPStan analysis
Process completed with exit code 1.
PHP 8.2 / PHPStan analysis: src/Server.php#L1251
Method pocketmine\Server::getBroadcastChannel() has invalid return type pocketmine\MessageChannel.
PHP 8.2 / PHPStan analysis: src/Server.php#L1259
Access to an undefined property pocketmine\Server::$broadcastChannels.
PHP 8.2 / PHPStan analysis: src/Server.php#L1259
Instantiated class pocketmine\MessageChannel not found.
PHP 8.2 / PHPStan analysis: src/Server.php#L1307
Call to method getPermittedSubscribers() on an unknown class pocketmine\MessageChannel.
PHP 8.2 / PHPStan analysis
Process completed with exit code 1.
PHP 8.3 / PHPStan analysis: src/Server.php#L1251
Method pocketmine\Server::getBroadcastChannel() has invalid return type pocketmine\MessageChannel.
PHP 8.3 / PHPStan analysis: src/Server.php#L1259
Access to an undefined property pocketmine\Server::$broadcastChannels.
PHP 8.3 / PHPStan analysis: src/Server.php#L1259
Instantiated class pocketmine\MessageChannel not found.
PHP 8.3 / PHPStan analysis: src/Server.php#L1307
Call to method getPermittedSubscribers() on an unknown class pocketmine\MessageChannel.
PHP 8.3 / PHPStan analysis
Process completed with exit code 1.