Use explicit nullable type parameters #409
checks.yml
on: pull_request
Code Checks
16s
Matrix: phpstan
Annotations
6 errors and 4 warnings
PHPStan on PHP 8.1:
tests/Test/Prometheus/Storage/APCngTest.php#L59
Parameter #2 $labels of method Prometheus\Counter::incBy() expects array<string>, array<int, int> given.
|
PHPStan on PHP 8.1
Process completed with exit code 1.
|
PHPStan on PHP 8.3:
tests/Test/Prometheus/Storage/APCngTest.php#L59
Parameter #2 $labels of method Prometheus\Counter::incBy() expects array<string>, array<int, int> given.
|
PHPStan on PHP 8.3
Process completed with exit code 1.
|
PHPStan on PHP 8.2:
tests/Test/Prometheus/Storage/APCngTest.php#L59
Parameter #2 $labels of method Prometheus\Counter::incBy() expects array<string>, array<int, int> given.
|
PHPStan on PHP 8.2
Process completed with exit code 1.
|
Code Checks
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
PHPStan on PHP 8.1
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
PHPStan on PHP 8.3
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
PHPStan on PHP 8.2
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|