eightshift-libs
eightshift-libs copied to clipboard
PHP 8+ support
Describe your feature request
We should start checking for PHP 8+ compatibility/issues in the libs.
Describe the solution you'd like
- Add GH Actions matrix checks, with allowed failures for PHP 8+ (since we are still not supporting them, it's ok that they fail)
- Modify the phpcs config so that the supported version is upped to PHP8
- Check if there are any forbidden keywords used as method arguments
- Consolidate and agree on method argument naming (after PHP 8, any change in argument name will be a BC break!)
- Update code to be written using PHP8 syntax with a fallback for PHP 7.4 version where possible
- Test everything
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in this repo.
Yes
Please confirm that you have searched in our documentation and couldn't find the answer.
Yes
We have started working on this support all fixes are located in this develop-php8
branch
this is done in the latest release