Skip to content

Commit 719ba62

Browse files
committed
CS
1 parent e124d27 commit 719ba62

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

phpstan-baseline.neon

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ parameters:
1515
count: 1
1616
path: src/DependencyInjection/SentryExtension.php
1717

18+
-
19+
message: "#^Cannot access offset 'before_send_check_in' on mixed\\.$#"
20+
count: 1
21+
path: src/DependencyInjection/SentryExtension.php
22+
23+
-
24+
message: "#^Cannot access offset 'before_send_metrics' on mixed\\.$#"
25+
count: 1
26+
path: src/DependencyInjection/SentryExtension.php
27+
1828
-
1929
message: "#^Cannot access offset 'before_send…' on mixed\\.$#"
2030
count: 1
@@ -82,7 +92,7 @@ parameters:
8292

8393
-
8494
message: "#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#"
85-
count: 7
95+
count: 9
8696
path: src/DependencyInjection/SentryExtension.php
8797

8898
-

tests/DependencyInjection/Fixtures/php/full.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
declare(strict_types=1);
44

5-
use Sentry\Transport\HttpTransport;
65
use Symfony\Component\DependencyInjection\ContainerBuilder;
76

87
/** @var ContainerBuilder $container */

tests/DependencyInjection/SentryExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function testClientIsCreatedFromOptions(): void
228228
'before_send_metrics' => new Reference('App\\Sentry\\BeforeSendMetricsCallback'),
229229
'trace_propagation_targets' => ['website.invalid'],
230230
'tags' => [
231-
'context' => 'development'
231+
'context' => 'development',
232232
],
233233
'error_types' => \E_ALL,
234234
'max_breadcrumbs' => 1,

0 commit comments

Comments
 (0)