Skip to content

Phpstan

Phpstan #146

Triggered via schedule February 12, 2024 08:20
Status Failure
Total duration 25s
Artifacts

phpstan.yml

on: schedule
Phpstan  /  Phpstan (8.1)
17s
Phpstan / Phpstan (8.1)
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Phpstan / Phpstan (8.1): src/Integration/NetteSecurityIntegration.php#L60
Call to function is_scalar() with int|string will always evaluate to true.
Phpstan / Phpstan (8.1): src/Integration/NetteSecurityIntegration.php#L60
Else branch is unreachable because ternary operator condition is always true.
Phpstan / Phpstan (8.1): src/Sentry.php#L29
Parameter #1 $serializer of method Sentry\ClientBuilder::setSerializer() expects Sentry\Serializer\SerializerInterface, mixed given.
Phpstan / Phpstan (8.1): src/Sentry.php#L33
Parameter #1 $representationSerializer of method Sentry\ClientBuilder::setRepresentationSerializer() expects Sentry\Serializer\RepresentationSerializerInterface, mixed given.
Phpstan / Phpstan (8.1): src/Sentry.php#L37
Parameter #1 $logger of method Sentry\ClientBuilder::setLogger() expects Psr\Log\LoggerInterface, mixed given.
Phpstan / Phpstan (8.1): src/Sentry.php#L41
Parameter #1 $sdkIdentifier of method Sentry\ClientBuilder::setSdkIdentifier() expects string, mixed given.
Phpstan / Phpstan (8.1): src/Sentry.php#L45
Parameter #1 $sdkVersion of method Sentry\ClientBuilder::setSdkVersion() expects string, mixed given.
Phpstan / Phpstan (8.1): src/Sentry.php#L49
Parameter #1 $transportFactory of method Sentry\ClientBuilder::setTransportFactory() expects Sentry\Transport\TransportFactoryInterface, mixed given.
Phpstan / Phpstan (8.1)
Process completed with exit code 2.
Phpstan / Phpstan (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.