wordpress-orm icon indicating copy to clipboard operation
wordpress-orm copied to clipboard

Get rid of PHP 8.1 deprecations warnings

Open joworeiter opened this issue 2 years ago • 1 comments

Since the upgrade to PHP 8.1 we get a ton of deprecation warnings. This could easily be fixed by adding return types, which are only available since 7.1, so I would advocate to set the min. php version at least to php 7.1 and fix the warnings by adding proper return types, where possible or supress them by adding the willChange-Attribute.

If someone could review my last pull request, I would be deligthed to serve an other one for this ones.

joworeiter avatar Feb 22 '23 09:02 joworeiter

@joworeiter I've merged your previous PR. You can raise a new PR for this issue.

rjjakes avatar Feb 23 '23 08:02 rjjakes