-
Notifications
You must be signed in to change notification settings - Fork 132
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: Installation and green build #767
Conversation
bc1a962
to
eab0e03
Compare
537a230
to
60d5a83
Compare
Btw I think is good to merge the basic PHP 8.1 support because probably there may be new BC breaks so one major BR release can solve them all. And some PHP 8.1 features can be supported right away (readonly properties) so we can add features one by one. And all new added features can be checked against both PHP versions. |
IMO we need to walk before we run. Would prefer to have mainline having all of 8.0 feature support, then 8.1 support |
We can hold off tagging until then |
Or release |
Depends if that will lead to further BC breaks - that's why perhaps holding off tagging is a better choice at first :) |
This may or may not be BC break: 4bee6ff |
1f9c8f4
to
d41ebbd
Compare
@WyriHaximus You can try to implement intersection types here :) You should need new version of https://github.com/nikic/PHP-Parser/releases/tag/v4.13.0 |
0aa61f1
to
1d1ece4
Compare
e258f6d
to
a418ae0
Compare
@kukulich You can pick intersection types up from WyriHaximus-labs@7c7af32 |
@WyriHaximus Done 👍 |
@kukulich Awesome! Any preference on what I pick up next? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welp, thought I sent in the review, but my uplink died :D
Half as bad
I think it is acceptable to lower the MT thresholds, since we are indeed expanding to cover 2 PHP versions. If I understand this correctly, we may go back up once we drop PHP 8.0 in a far future (perhaps +6 months) |
1d0914c and we are green again :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚢
Thanks for investigating this, @kukulich! Massive kudos for the upgrade work and investigation: I'm surprised we got it running on 8.0 and 8.1 after all!
@@ -32,7 +33,8 @@ jobs: | |||
with: | |||
coverage: "none" | |||
php-version: "${{ matrix.php-version }}" | |||
ini-values: memory_limit=-1 | |||
# No deprecated errors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay PHP :|
TBH, we should handle deprecations, but can't deal with them inside third-party tools, obviously.
@@ -6,6 +6,7 @@ or backwards compatibility (BC) breakages occur. | |||
## 5.0.0 | |||
|
|||
### BC Breaks | |||
* All adapters are `final` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, my hope is to generate a whole list of BC breaks through roave/backward-compatibility-check
when we get close to tagging this 👍
No description provided.