Tharos / LeanMapper

Lean Mapper is a tiny ORM based on powerful Dibi database abstraction library for PHP.
MIT License
87 stars 35 forks source link

PHP 8.1 fixes - both phpstan & tests #163

Closed uestla closed 2 years ago

uestla commented 2 years ago

In #162 one issue has been reported by PHPStan.

However, for PHP 8.1 there were some more issues - both for PHPStan (missing typehint for Fluent iterable) and tester (incompatible return typehints that needed to be "fixed" by PHP attribute).

I also extended Github Actions to run tests with PHP 8.1 and extended static analysis to also run with different PHP versions.

janpecha commented 2 years ago

Thanks!