-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.1 Compatibility #192
Comments
See auraphp/Aura.Cli_Kernel#12 (comment)
|
Personally, I think it would be good to set the Aura 5.x requirement to PHP 8.1 or later. |
Yes I agree, 5.x should start a 8.1, as current 3.* does work fine for PHP 8.0, as PHP 8.1 is now starting to enforce typing from the core of PHP the 5.x series can now be fully typed. If you are happy with that, I will branch from 3.x-actions as it has updates to phpUnit. As a side note I will be having a look at aura.sqlquery and aura.sqlschema, but for the meantime they seem to be working fine with PHP 8.1 so far but not heavily tested |
@kenjis fine by me! |
Ok I have done all the changes, everything is typed, tests have been fixed, github actions has been updated. All test are passing local and on github actions. I will wait for you to branch it, then make a PR to the new branch. |
I created It seems #191 is missing in 5.x. |
I have created pull request #193 to 5.x branch |
Hi
I am looking to add php 8.1 compatibility, I am thinking of using 3.x-actions branch as it has most of the phpunit updates.
I am looking to add the required typing, there are mainly 2 php RFC's that are going to caused the main problems,but I suspect there will be a few more.
The first one is easy to fix.
The second has 2 approaches.
#[ReturnTypeWillChange]
attribute, and then sort the typing out by PHP 9, i.e. kick the problem down the road, but keep BC for now.I would like to know how you would like this approaching as I am looking to do the changes?
Thanks
Steven
The text was updated successfully, but these errors were encountered: