Closed slackero closed 12 months ago
thanks for reporting. I have also seen this error and it seems phpstan-dba is not compatible with the latest phpstan releases because of this stubs error.
I will work on a fix when time allows, as my own projects are also hit by this problem.
in https://github.com/staabm/phpstan-dba/releases/tag/0.2.79 I have pushed a new release containing a bugfix for that particular problem to make phpstan-dba work for everyone not using mysqli_fetch_object
.
in the next step I will have a look to get all features back, but at least the more ciritical stuff should work again
thanks for reporting
Trying to update phpstan to v1.10.37 results in an error.
It doesn't help to ignore the error or exclude the path.
Up to phpstan v1.10.35 it works without this error message. Maybe it is related to this pull request — [mysqli] Add stubs for mysqli and mysqli_result classes phpstan/phpstan-src#2295.