Skip to content

Commit 72d5201

Browse files
committed
Add PHPStan configuration files to platform bridges
Add phpstan.dist.neon to each platform bridge package, similar to how store and agent tool bridges have their own PHPStan configs.
1 parent 427348c commit 72d5201

File tree

26 files changed

+572
-0
lines changed

26 files changed

+572
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
includes:
2+
- ../../../../../.phpstan/extension.neon
3+
4+
parameters:
5+
level: 6
6+
paths:
7+
- .
8+
excludePaths:
9+
- Tests/
10+
- vendor/
11+
treatPhpDocTypesAsCertain: false
12+
ignoreErrors:
13+
-
14+
message: "#^Method .*::test.*\\(\\) has no return type specified\\.$#"
15+
-
16+
identifier: missingType.iterableValue
17+
path: Tests/*
18+
reportUnmatched: false
19+
-
20+
identifier: 'symfonyAi.forbidNativeException'
21+
path: Tests/*
22+
reportUnmatched: false

0 commit comments

Comments
 (0)