Skip to content

Commit 953abde

Browse files
authored
Merge pull request #32 from studio-design/refactor/remove-phpstan-ignore-errors
Refactoring: PHPStan ignoreErrors を excludePaths に置き換え
2 parents 9936918 + 0ea47e0 commit 953abde

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

phpstan.neon.dist

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,6 @@ parameters:
33
paths:
44
- src
55
- tests
6+
excludePaths:
7+
- src/Laravel
68
tmpDir: .phpstan.cache
7-
ignoreErrors:
8-
-
9-
message: '#Function (app|config) not found#'
10-
path: src/Laravel/ValidatesOpenApiSchema.php
11-
-
12-
message: '#Call to an undefined method Illuminate\\Testing\\TestResponse::#'
13-
path: src/Laravel/ValidatesOpenApiSchema.php
14-
-
15-
message: '#Access to an undefined property Illuminate\\Testing\\TestResponse::\$headers#'
16-
path: src/Laravel/ValidatesOpenApiSchema.php
17-
-
18-
message: '#Function config_path not found#'
19-
path: src/Laravel/OpenApiContractTestingServiceProvider.php
20-
-
21-
message: '#does not specify its types: TResponse#'
22-
path: src/Laravel/ValidatesOpenApiSchema.php

0 commit comments

Comments
 (0)