Skip to content

Commit f1067a6

Browse files
committed
Update phpstan configuration and baseline
1 parent e3c6525 commit f1067a6

1 file changed

Lines changed: 5 additions & 25 deletions

File tree

phpstan-baseline.neon

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: "#^Cannot access offset 'access_token' on mixed\\.$#"
5-
count: 1
6-
path: src/Component.php
7-
8-
-
9-
message: "#^Cannot access offset 'refresh_token' on mixed\\.$#"
10-
count: 1
11-
path: src/Component.php
12-
133
-
144
message: "#^Method Keboola\\\\GoogleAnalyticsExtractor\\\\Component\\:\\:getProfilesPropertiesAction\\(\\) return type has no value type specified in iterable type array\\.$#"
155
count: 1
@@ -55,21 +45,6 @@ parameters:
5545
count: 1
5646
path: src/Component.php
5747

58-
-
59-
message: "#^Parameter \\#3 \\$accessToken of class Keboola\\\\Google\\\\ClientBundle\\\\Google\\\\RestApi constructor expects string, mixed given\\.$#"
60-
count: 1
61-
path: src/Component.php
62-
63-
-
64-
message: "#^Parameter \\#4 \\$refreshToken of class Keboola\\\\Google\\\\ClientBundle\\\\Google\\\\RestApi constructor expects string, mixed given\\.$#"
65-
count: 1
66-
path: src/Component.php
67-
68-
-
69-
message: "#^Parameter \\#5 \\$logger of class Keboola\\\\Google\\\\ClientBundle\\\\Google\\\\RestApi constructor expects Monolog\\\\Logger\\|null, Psr\\\\Log\\\\LoggerInterface given\\.$#"
70-
count: 1
71-
path: src/Component.php
72-
7348
-
7449
message: "#^Cannot access offset 'enabled' on mixed\\.$#"
7550
count: 1
@@ -135,6 +110,11 @@ parameters:
135110
count: 1
136111
path: src/Configuration/Config.php
137112

113+
-
114+
message: "#^Method Keboola\\\\GoogleAnalyticsExtractor\\\\Configuration\\\\Config\\:\\:getServiceAccount\\(\\) return type has no value type specified in iterable type array\\.$#"
115+
count: 1
116+
path: src/Configuration/Config.php
117+
138118
-
139119
message: "#^Method Keboola\\\\GoogleAnalyticsExtractor\\\\Configuration\\\\Config\\:\\:skipGenerateSystemTables\\(\\) should return bool but returns mixed\\.$#"
140120
count: 1

0 commit comments

Comments
 (0)