Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
stayallive committed Dec 5, 2024
1 parent cd0589e commit d8645dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ parameters:
count: 2
path: src/DependencyInjection/SentryExtension.php

-
message: "#^Cannot access offset 'logger' on mixed\\.$#"
count: 1
path: src/DependencyInjection/SentryExtension.php

-
message: "#^Cannot access offset 'traces_sampler' on mixed\\.$#"
count: 1
Expand All @@ -92,7 +97,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#"
count: 9
count: 10
path: src/DependencyInjection/SentryExtension.php

-
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/SentryExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

namespace Sentry\SentryBundle\Tests\DependencyInjection;

use Sentry\Logger\DebugStdOutLogger;
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
use Jean85\PrettyVersions;
use PHPUnit\Framework\TestCase;
use Psr\Log\NullLogger;
use Sentry\ClientInterface;
use Sentry\Logger\DebugStdOutLogger;
use Sentry\Options;
use Sentry\SentryBundle\DependencyInjection\SentryExtension;
use Sentry\SentryBundle\EventListener\ConsoleListener;
Expand Down

0 comments on commit d8645dd

Please sign in to comment.