code style #24
Annotations
18 errors and 3 warnings
Test PHP 8.3 on swoole:
src/gateway/src/AbstractService.php#L17
Property Mine\Gateway\AbstractService::$http has unknown class Mine\Gateway\Http as its type.
|
Test PHP 8.3 on swoole:
src/gateway/src/AbstractService.php#L19
Parameter $http of method Mine\Gateway\AbstractService::__construct() has invalid type Mine\Gateway\Http.
|
Test PHP 8.3 on swoole:
src/gateway/src/Client/GuzzleHttpClient.php#L21
Method Mine\Gateway\Client\GuzzleHttpClient::getApplication() should return Hyperf\Collection\Collection but return statement is missing.
|
Test PHP 8.3 on swoole:
src/gateway/src/Client/GuzzleHttpClient.php#L25
Method Mine\Gateway\Client\GuzzleHttpClient::getExtensions() should return Hyperf\Collection\Collection but return statement is missing.
|
Test PHP 8.3 on swoole:
src/gateway/src/Client/GuzzleHttpClient.php#L30
Method Mine\Gateway\Client\GuzzleHttpClient::request() should return Psr\Http\Message\ResponseInterface but return statement is missing.
|
Test PHP 8.3 on swoole:
src/mine-service/src/Command/MineGenMapperCommand.php#L44
Method Mine\Command\MineGenMapperCommand::__invoke() has #[\Override] attribute but does not override any method.
|
Test PHP 8.3 on swoole:
src/next-core-x/src/Commands/PublishCommand.php#L45
Call to static method export() on an unknown class Symfony\Component\VarExporter\VarExporter.
|
Test PHP 8.3 on swoole:
src/translatable/publish/translatable.php#L12
Declare strict_types must be the very first statement.
|
Test PHP 8.3 on swoole
Process completed with exit code 1.
|
Test PHP 8.2 on swoole:
src/gateway/src/AbstractService.php#L17
Property Mine\Gateway\AbstractService::$http has unknown class Mine\Gateway\Http as its type.
|
Test PHP 8.2 on swoole:
src/gateway/src/AbstractService.php#L19
Parameter $http of method Mine\Gateway\AbstractService::__construct() has invalid type Mine\Gateway\Http.
|
Test PHP 8.2 on swoole:
src/gateway/src/Client/GuzzleHttpClient.php#L21
Method Mine\Gateway\Client\GuzzleHttpClient::getApplication() should return Hyperf\Collection\Collection but return statement is missing.
|
Test PHP 8.2 on swoole:
src/gateway/src/Client/GuzzleHttpClient.php#L25
Method Mine\Gateway\Client\GuzzleHttpClient::getExtensions() should return Hyperf\Collection\Collection but return statement is missing.
|
Test PHP 8.2 on swoole:
src/gateway/src/Client/GuzzleHttpClient.php#L30
Method Mine\Gateway\Client\GuzzleHttpClient::request() should return Psr\Http\Message\ResponseInterface but return statement is missing.
|
Test PHP 8.2 on swoole:
src/next-core-x/src/Commands/PublishCommand.php#L45
Call to static method export() on an unknown class Symfony\Component\VarExporter\VarExporter.
|
Test PHP 8.2 on swoole:
src/translatable/publish/translatable.php#L12
Declare strict_types must be the very first statement.
|
Test PHP 8.2 on swoole
Process completed with exit code 1.
|
Test PHP 8.1 on swoole
The operation was canceled.
|
Test PHP 8.3 on swoole
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test PHP 8.2 on swoole
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Test PHP 8.1 on swoole
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|