Skip to content

Commit 8bd669e

Browse files
committed
[Store] Add PHPStan autoload namespace to bridge composer.json files
Add Symfony\AI\PHPStan namespace to autoload-dev in all store bridge composer.json files to enable custom PHPStan rules from the shared .phpstan directory when running PHPStan on individual bridges.
1 parent 4f68454 commit 8bd669e

File tree

21 files changed

+21
-0
lines changed

21 files changed

+21
-0
lines changed

src/store/src/Bridge/AzureSearch/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
},
4646
"autoload-dev": {
4747
"psr-4": {
48+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4849
"Symfony\\AI\\Store\\Bridge\\AzureSearch\\Tests\\": "Tests/"
4950
}
5051
},

src/store/src/Bridge/Cache/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"autoload-dev": {
4646
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4748
"Symfony\\AI\\Store\\Bridge\\Cache\\Tests\\": "Tests/"
4849
}
4950
},

src/store/src/Bridge/ChromaDb/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"autoload-dev": {
4646
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4748
"Symfony\\AI\\Store\\Bridge\\ChromaDb\\Tests\\": "Tests/"
4849
}
4950
},

src/store/src/Bridge/ClickHouse/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"autoload-dev": {
4646
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4748
"Symfony\\AI\\Store\\Bridge\\ClickHouse\\Tests\\": "Tests/"
4849
}
4950
},

src/store/src/Bridge/Cloudflare/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
},
4646
"autoload-dev": {
4747
"psr-4": {
48+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4849
"Symfony\\AI\\Store\\Bridge\\Cloudflare\\Tests\\": "Tests/"
4950
}
5051
},

src/store/src/Bridge/Elasticsearch/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
},
4141
"autoload-dev": {
4242
"psr-4": {
43+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4344
"Symfony\\AI\\Store\\Bridge\\Elasticsearch\\Tests\\": "Tests/"
4445
}
4546
},

src/store/src/Bridge/ManticoreSearch/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"autoload-dev": {
4646
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4748
"Symfony\\AI\\Store\\Bridge\\ManticoreSearch\\Tests\\": "Tests/"
4849
}
4950
},

src/store/src/Bridge/MariaDb/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
},
4646
"autoload-dev": {
4747
"psr-4": {
48+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4849
"Symfony\\AI\\Store\\Bridge\\MariaDb\\Tests\\": "Tests/"
4950
}
5051
},

src/store/src/Bridge/Meilisearch/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"autoload-dev": {
4646
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4748
"Symfony\\AI\\Store\\Bridge\\Meilisearch\\Tests\\": "Tests/"
4849
}
4950
},

src/store/src/Bridge/Milvus/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
},
4545
"autoload-dev": {
4646
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4748
"Symfony\\AI\\Store\\Bridge\\Milvus\\Tests\\": "Tests/"
4849
}
4950
},

0 commit comments

Comments
 (0)