P2GR / datamapper

CodeIgniter Datamapper
Other
35 stars 23 forks source link

PHP 8.1 compatibility and CI3 updates #18

Closed jamieburchell closed 2 years ago

jamieburchell commented 2 years ago

@saekort Knock, knock. Anybody still there?

This branch appears to still be working fine on PHP 8.0, but needs a few tweaks for PHP 8.1.

This PR requires at least PHP 7.1 to support the void return type.

jamieburchell commented 2 years ago

Hi! If you want to maintain PHP 7.1.0+ compatibility, you'll need the changes here

P2GR commented 2 years ago

Yup, you're totally right. re-added the #[\ReturnTypeWillChange]