Skip to content

Add token related type hints #1675

Add token related type hints

Add token related type hints #1675

Triggered via push December 11, 2024 09:02
Status Failure
Total duration 1m 32s
Artifacts

phpstan.yml

on: push
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
PHPStan with PHP 8.3 prefer-stable: Civi/Funding/DocumentRender/CiviOffice/AbstractCiviOfficeTokenSubscriber.php#L137
Parameter #3 $tokenValue of method Civi\Token\TokenRow::tokens() expects array|string|null, Brick\Money\Money|DateTime|string given.
PHPStan with PHP 8.3 prefer-stable: Civi/Funding/EventSubscriber/CiviOffice/TransferContractTokenSubscriber.php#L88
Parameter #3 $tokenValue of method Civi\Token\TokenRow::tokens() expects array|string|null, Brick\Money\Money|DateTime|string given.
PHPStan with PHP 8.3 prefer-stable
Process completed with exit code 1.
PHPStan with PHP 8.3 prefer-lowest
The job was canceled because "_8_3_prefer-stable" failed.
PHPStan with PHP 8.3 prefer-lowest
The operation was canceled.
PHPStan with PHP 8.0 prefer-lowest
The job was canceled because "_8_3_prefer-stable" failed.
PHPStan with PHP 8.0 prefer-lowest
The operation was canceled.
PHPStan with PHP 7.4 prefer-lowest
The job was canceled because "_8_3_prefer-stable" failed.
PHPStan with PHP 7.4 prefer-lowest
The operation was canceled.
PHPStan with PHP 8.0 prefer-stable
The job was canceled because "_8_3_prefer-stable" failed.
PHPStan with PHP 8.0 prefer-stable: Civi/Funding/DocumentRender/CiviOffice/AbstractCiviOfficeTokenSubscriber.php#L137
Parameter #3 $tokenValue of method Civi\Token\TokenRow::tokens() expects array|string|null, Brick\Money\Money|DateTime|string given.
PHPStan with PHP 8.0 prefer-stable: Civi/Funding/EventSubscriber/CiviOffice/TransferContractTokenSubscriber.php#L88
Parameter #3 $tokenValue of method Civi\Token\TokenRow::tokens() expects array|string|null, Brick\Money\Money|DateTime|string given.
PHPStan with PHP 8.0 prefer-stable
The operation was canceled.
PHPStan with PHP 7.4 prefer-stable
The job was canceled because "_8_3_prefer-stable" failed.
PHPStan with PHP 7.4 prefer-stable
The operation was canceled.
PHPStan with PHP 8.3 prefer-stable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636