Fix PHPStan command and nullsafe usage

This commit is contained in:
Bernard Ngandu
2025-10-10 16:24:46 +02:00
parent 9699de62d4
commit c24109d465
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
run: composer install --no-interaction --prefer-dist
- name: Run PHPStan
run: vendor/bin/phpstan analyse --memory-limit=1G
run: vendor/bin/phpstan analyse --memory-limit=-1
coding-standards:
name: ECS
@@ -81,7 +81,7 @@ final class SignalSubmissionService
$retryAfter = $limit->getRetryAfter();
$this->logger->warning('Signal submission rejected due to rate limiting.', [
'client_key' => $clientKey,
'retry_after' => $retryAfter?->format(DATE_ATOM),
'retry_after' => $retryAfter->format(DATE_ATOM),
]);
throw new SubmissionRateLimitedException($limit->getRetryAfter());
}