Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dad9788

Browse files
committed
[Store] Remove unused dev dependencies
1 parent 18f54cd commit dad9788

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"symfony/uid": "^7.3|^8.0"
3333
},
3434
"require-dev": {
35+
"phpstan/phpstan": "^2.0",
36+
"phpstan/phpstan-strict-rules": "^2.0",
3537
"phpunit/phpunit": "^11.5.46"
3638
},
3739
"minimum-stability": "dev",
@@ -42,6 +44,7 @@
4244
},
4345
"autoload-dev": {
4446
"psr-4": {
47+
"Symfony\\AI\\PHPStan\\": "../../../../../.phpstan/",
4548
"Symfony\\AI\\Store\\Bridge\\Cache\\Tests\\": "Tests/"
4649
}
4750
},

phpstan.dist.neon

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

0 commit comments

Comments
 (0)