Skip to content

Add docker structure #123

Add docker structure

Add docker structure #123

Triggered via pull request December 4, 2024 18:16
Status Failure
Total duration 28s
Artifacts

lint-phpstan.yml

on: pull_request
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
PHPStan (8.3, highest, ubuntu-latest)
❗️ PHPStan check failed (╯°益°)╯彡┻━┻
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/Entity/Bitrix24Account.php#L326
Class Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Events\Bitrix24AccountBlockedEvent constructor invoked with 3 parameters, 2 required.
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/Infrastructure/Doctrine/Bitrix24AccountRepository.php#L55
Parameter #3 $bitrix24UserId (int|null) of method Bitrix24\Lib\Bitrix24Accounts\Infrastructure\Doctrine\Bitrix24AccountRepository::findByMemberId() is not contravariant with parameter #3 $isAdmin (bool|null) of method Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Repository\Bitrix24AccountRepositoryInterface::findByMemberId().
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/Infrastructure/Doctrine/Bitrix24AccountRepository.php#L128
Method Bitrix24\Lib\Bitrix24Accounts\Infrastructure\Doctrine\Bitrix24AccountRepository::findByApplicationToken() has #[\Override] attribute but does not override any method.
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/InstallFinish/Handler.php#L32
PHPDoc tag @throws with type Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\Bitrix24AccountNotFoundException|Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException|Bitrix24\SDK\Core\Exceptions\InvalidArgumentException is not subtype of Throwable
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/InstallFinish/Handler.php#L62
Parameter #3 $isAdmin of method Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Repository\Bitrix24AccountRepositoryInterface::findByMemberId() expects bool|null, int|null given.
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/InstallFinish/Handler.php#L76
Instantiated class Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException not found.
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/InstallFinish/Handler.php#L76
Throwing object of an unknown class Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException.
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/RenewAuthToken/Handler.php#L28
PHPDoc tag @throws with type Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException is not subtype of Throwable
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/RenewAuthToken/Handler.php#L59
PHPDoc tag @throws with type Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException is not subtype of Throwable
PHPStan (8.3, highest, ubuntu-latest): src/Bitrix24Accounts/UseCase/RenewAuthToken/Handler.php#L68
Parameter #3 $isAdmin of method Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Repository\Bitrix24AccountRepositoryInterface::findByMemberId() expects bool|null, int|null given.
PHPStan (8.3, highest, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636