Send the Discord spoiling code in attachment file #587
Annotations
10 errors and 1 warning
Run PHPStan:
src/Discord/ApiHelper.php#L31
Method JoliCode\SecretSanta\Discord\ApiHelper::getMembersInGuild() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Discord/ApiHelper.php#L50
Method JoliCode\SecretSanta\Discord\ApiHelper::getRolesInGuild() return type has no value type specified in iterable type array.
|
Run PHPStan:
src/Discord/ApiHelper.php#L108
Method JoliCode\SecretSanta\Discord\ApiHelper::callApi() has parameter $options with no value type specified in iterable type array.
|
Run PHPStan:
src/Discord/MessageSender.php#L73
Caught class GuzzleHttp\Command\Exception\CommandClientException not found.
|
Run PHPStan:
src/Discord/MessageSender.php#L76
Call to method getResponse() on an unknown class GuzzleHttp\Command\Exception\CommandClientException.
|
Run PHPStan:
src/Discord/MessageSender.php#L111
Caught class GuzzleHttp\Command\Exception\CommandClientException not found.
|
Run PHPStan:
src/Discord/MessageSender.php#L114
Call to method getResponse() on an unknown class GuzzleHttp\Command\Exception\CommandClientException.
|
Run PHPStan:
src/Discord/UserExtractor.php#L31
PHPDoc tag @var for variable $members contains unknown class JoliCode\SecretSanta\Discord\GuildMember.
|
Run PHPStan:
src/Discord/UserExtractor.php#L34
PHPDoc tag @var for variable $lastMembers contains unknown class JoliCode\SecretSanta\Discord\GuildMember.
|
Run PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading