Skip to content

Commit 7210097

Browse files
committed
Use explicit file paths in PHPStan config instead of glob patterns
PHPStan doesn't support glob patterns like `*.php` in paths config. Changed to explicit file names (Store.php, Distance.php, etc.) for each bridge to fix the CI error.
1 parent 1befc91 commit 7210097

File tree

21 files changed

+23
-21
lines changed

21 files changed

+23
-21
lines changed

src/store/src/Bridge/AzureSearch/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- SearchStore.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/Cache/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/ChromaDb/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/ClickHouse/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/Cloudflare/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/Elasticsearch/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/ManticoreSearch/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/MariaDb/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/Meilisearch/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

src/store/src/Bridge/Milvus/phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- ./*.php
7+
- Store.php
88
treatPhpDocTypesAsCertain: false
99
ignoreErrors:
1010
-

0 commit comments

Comments
 (0)