Skip to content

Commit

Permalink
fix: retro-compatibility & config phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Siniliote committed May 17, 2024
1 parent 663cc1d commit fc94d0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
}
],
"require": {
"php": "^8.1",
"doctrine/orm": "^3.1",
"doctrine/dbal": "^4.0",
"php": "^8",
"doctrine/orm": "^2.7|^3.1",
"doctrine/dbal": "^3.8|^4.0",
"webmozart/assert": "^1.11"
},
"autoload": {
Expand Down
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
parameters:
level: max
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- src/

ignoreErrors:
- identifier: missingType.iterableValue
- identifier: missingType.generics
# callable with array syntax is not inferred
- '#.*function call_user_func expects callable.*#'

0 comments on commit fc94d0d

Please sign in to comment.