SwedbankPay / swedbank-pay-woocommerce-checkout

Swedbank Pay Checkout for WooCommerce (Beta)
https://wordpress.org/plugins/swedbank-pay-checkout/
Apache License 2.0
5 stars 1 forks source link

BUG: 🐛 php 8.2 deprecation notices #166

Open chrillep opened 1 year ago

chrillep commented 1 year ago

plugin is causing deprecation notices.

fix possible by running rector https://getrector.com/documentation

with LevelSetList::UP_TO_PHP_82 config https://getrector.com/documentation/set-lists

https://getrector.com/blog/new-setup-ci-command-to-let-rector-work-for-you https://tomasvotruba.com/blog/how-to-release-php-81-and-72-package-in-the-same-repository/

also you can add minimum php version to plugin readme.txt. this will help updating. https://make.wordpress.org/plugins/2017/08/29/minimum-php-version-requirement/

chrillep commented 1 year ago

ping @olegisk @aait