Fix b24phpsdk installation naming and add to lint workflow #120
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#L328
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#L57
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#L129
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#L33
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#L64
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#L78
Instantiated class Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException not found.
|
PHPStan (8.3, highest, ubuntu-latest):
src/Bitrix24Accounts/UseCase/InstallFinish/Handler.php#L78
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#L30
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#L60
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/RenewAuthToken/Handler.php#L64
Instantiated class Bitrix24\SDK\Application\Contracts\Bitrix24Accounts\Exceptions\MultipleBitrix24AccountsFoundException not found.
|
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
|