Skip to content

Commit aa3f27c

Browse files
committed
update phpstan
1 parent 655ed54 commit aa3f27c

2 files changed

Lines changed: 6 additions & 17 deletions

File tree

phpstan-baseline.neon

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ parameters:
6565
count: 1
6666
path: src/Component.php
6767

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+
6873
-
6974
message: "#^Cannot access offset 'enabled' on mixed\\.$#"
7075
count: 1
@@ -830,26 +835,11 @@ parameters:
830835
count: 1
831836
path: tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php
832837

833-
-
834-
message: "#^Cannot access offset 'data' on mixed\\.$#"
835-
count: 1
836-
path: tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php
837-
838838
-
839839
message: "#^Cannot access offset 'oauth_api' on mixed\\.$#"
840840
count: 1
841841
path: tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php
842842

843-
-
844-
message: "#^Cannot access offset 'status' on mixed\\.$#"
845-
count: 2
846-
path: tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php
847-
848-
-
849-
message: "#^Cannot access offset 0 on mixed\\.$#"
850-
count: 1
851-
path: tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php
852-
853843
-
854844
message: "#^Method Keboola\\\\GoogleAnalyticsExtractor\\\\ApplicationTest\\:\\:assertManifestContainsColumns\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#"
855845
count: 1
@@ -872,7 +862,7 @@ parameters:
872862

873863
-
874864
message: "#^Parameter \\#2 \\$array of static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertArrayHasKey\\(\\) expects array\\|ArrayAccess, mixed given\\.$#"
875-
count: 10
865+
count: 2
876866
path: tests/Keboola/GoogleAnalyticsExtractor/ApplicationTest.php
877867

878868
-

phpstan.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ parameters:
66
- '#Call to an undefined method Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition\:\:ignoreExtraKeys\(\).#'
77
- '#Cannot call method integerNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null\.#'
88
- '#Cannot call method scalarNode\(\) on Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface\|null\.#'
9-
- '#logger of class Keboola\\Google\\ClientBundle\\Google\\RestApi constructor expects Monolog\\Logger\|null, Psr\\Log\\LoggerInterface given\.#'

0 commit comments

Comments
 (0)