Skip to content

Commit cc18199

Browse files
committed
Apply phpstan
1 parent ff01dca commit cc18199

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

phpstan-baseline.neon

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ parameters:
66
path: src/Bootstrapper.php
77

88
-
9-
message: "#^Call to an undefined method DebugBar\\\\JavascriptRenderer\\:\\:dumpAssetsToString\\(\\)\\.$#"
10-
count: 2
9+
message: "#^Property Guanguans\\\\LaravelSoar\\\\Http\\\\Controllers\\\\AssetController\\:\\:\\$javascriptRenderer \\(Guanguans\\\\LaravelSoar\\\\JavascriptRenderer\\) does not accept DebugBar\\\\JavascriptRenderer\\.$#"
10+
count: 1
1111
path: src/Http/Controllers/AssetController.php
1212

1313
-
@@ -21,7 +21,7 @@ parameters:
2121
path: src/JavascriptRenderer.php
2222

2323
-
24-
message: "#^Method Guanguans\\\\LaravelSoar\\\\Macros\\\\QueryBuilderMacro\\:\\:toSoarJsonScores\\(\\) invoked with 2 parameters, 0 required\\.$#"
24+
message: "#^Method Guanguans\\\\LaravelSoar\\\\Macros\\\\QueryBuilderMacro\\:\\:toSoarArrayScores\\(\\) invoked with 2 parameters, 0 required\\.$#"
2525
count: 2
2626
path: src/Macros/QueryBuilderMacro.php
2727

@@ -31,12 +31,7 @@ parameters:
3131
path: src/Macros/QueryBuilderMacro.php
3232

3333
-
34-
message: "#^Call to an undefined method Illuminate\\\\Console\\\\Events\\\\CommandFinished\\|Symfony\\\\Component\\\\HttpFoundation\\\\Response\\:\\:getData\\(\\)\\.$#"
35-
count: 1
36-
path: src/Outputs/JsonOutput.php
37-
38-
-
39-
message: "#^Call to an undefined method Illuminate\\\\Console\\\\Events\\\\CommandFinished\\|Symfony\\\\Component\\\\HttpFoundation\\\\Response\\:\\:setData\\(\\)\\.$#"
34+
message: "#^Call to an undefined method Symfony\\\\Component\\\\HttpFoundation\\\\JsonResponse\\:\\:getData\\(\\)\\.$#"
4035
count: 1
4136
path: src/Outputs/JsonOutput.php
4237

0 commit comments

Comments
 (0)