Skip to content

Commit d6c0bc3

Browse files
committed
Use paths: ./ with excludePaths for bridge PHPStan configs
Changed from explicit file lists to directory-based scanning with proper exclusions for vendor and Tests directories.
1 parent 7210097 commit d6c0bc3

File tree

21 files changed

+84
-23
lines changed

21 files changed

+84
-23
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- SearchStore.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ includes:
44
parameters:
55
level: 6
66
paths:
7-
- Store.php
7+
- ./
8+
excludePaths:
9+
- ./vendor
10+
- ./Tests
811
treatPhpDocTypesAsCertain: false
912
ignoreErrors:
1013
-

0 commit comments

Comments
 (0)