Allow logger
to be a service reference
#1307
Annotations
10 errors and 3 warnings
PHP-CS-Fixer
Process completed with exit code 8.
|
PHPStan:
src/DependencyInjection/SentryExtension.php#L97
Cannot access offset 'logger' on mixed.
|
PHPStan:
src/DependencyInjection/SentryExtension.php#L98
Ignored error pattern #^Parameter \#1 \$id of class Symfony\\Component\\DependencyInjection\\Reference constructor expects string, mixed given\.$# in path /home/runner/work/sentry-symfony/sentry-symfony/src/DependencyInjection/SentryExtension.php is expected to occur 9 times, but occurred 10 times.
|
PHPStan:
src/DependencyInjection/SentryExtension.php#L155
Parameter #1 $id of class Symfony\Component\DependencyInjection\Reference constructor expects string, mixed given.
|
PHPStan:
src/EventListener/MessengerListener.php#L100
Instanceof between Throwable and Symfony\Component\Messenger\Exception\HandlerFailedException will always evaluate to false.
|
PHPStan:
src/EventListener/MessengerListener.php#L100
Result of && is always false.
|
PHPStan:
src/EventListener/MessengerListener.php#L102
Instanceof between Throwable and Symfony\Component\Messenger\Exception\DelayedMessageHandlingException will always evaluate to false.
|
PHPStan:
src/EventListener/MessengerListener.php#L102
Result of && is always false.
|
PHPStan:
tests/EventListener/Fixtures/UserWithIdentifierStub.php#L23
Method Sentry\SentryBundle\Tests\EventListener\Fixtures\UserWithIdentifierStub::getUserIdentifier() should return non-empty-string but returns string.
|
PHPStan
Process completed with exit code 1.
|
Psalm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP-CS-Fixer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|