Skip to content

Commit f971b49

Browse files
committed
Fix platform PHPStan config: remove symfony extension, exclude Bridge
- Remove phpstan-symfony extension include (removed from require-dev) - Add excludePaths for src/Bridge/ (bridges have their own phpstan configs) - Remove Bridge/**Tests/* ignore rules (not needed with exclusion)
1 parent bc19613 commit f971b49

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/platform/phpstan.dist.neon

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
includes:
22
- ../../.phpstan/extension.neon
3-
- vendor/phpstan/phpstan-symfony/extension.neon
43

54
parameters:
65
level: 6
76
paths:
87
- src/
98
- tests/
9+
excludePaths:
10+
- src/Bridge/
1011
treatPhpDocTypesAsCertain: false
1112
ignoreErrors:
1213
-
@@ -23,15 +24,7 @@ parameters:
2324
identifier: missingType.iterableValue
2425
path: tests/*
2526
reportUnmatched: false
26-
-
27-
identifier: missingType.iterableValue
28-
path: src/Bridge/**/Tests/*
29-
reportUnmatched: false
3027
-
3128
identifier: 'symfonyAi.forbidNativeException'
3229
path: tests/*
3330
reportUnmatched: false
34-
-
35-
identifier: 'symfonyAi.forbidNativeException'
36-
path: src/Bridge/**/Tests/*
37-
reportUnmatched: false

0 commit comments

Comments
 (0)