-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Travis CI tests on PHP 7.3 #3347
Conversation
Never mind, it looks like xdebug is not available yet for PHP 7.3. A beta version has been released last september, but it's still not readily available on Ubuntu AFAICS. Let's put this PR on hold until a stable version comes to Ubuntu. |
Duplicate of unfinished #3323. |
@Majkl578 Ah, sorry for the dup. Closing this one. |
If you want, take my commit and you can finish what @morozov suggested, I won't have time for that for next 5 days or so. |
Actually your commit is based on master, while mine is based on develop (no PHP 7.1 support). Otherwise they're pretty much equivalent. @morozov are you OK if I apply your suggestions on the commit here? |
@BenMorel as long as these are non-breaking changes, we can accept them in |
@morozov The problem is that master targets PHP 7.1+, while develop targets 7.2+. Should I create 2 PRs, one targeting master and one targeting develop? |
@BenMorel what is the problem? Regardless of the minimal supported version, we'll support PHP 7.3 in all actively supported branches. No need for two separate pull requests. |
Ah, true, rebasing develop on master should do the job, if there are no conflicts. OK, I'll pick up @Majkl578's commit and implement your suggestion. |
1960876
to
9462bed
Compare
OK, so here's what I've done:
|
Looks good so far. A couple of questions:
If the algorithm above makes sense, maybe we could have a script which takes all versions as input and generates the matrix? Just for the sake of discussion and as a reference point. |
1d9745e
to
b85ff57
Compare
|
You don't have to. I can give it a try myself. It's just easier to reason about an algorithm and play with the switches when it's implemented as code. If you can just update the matrix following the algorithm, it's fine too.
We can do that but I was hoping we'd have all extensions in place by GA (at least |
0d28361
to
64b21f6
Compare
@BenMorel thank you for the thorough explanation. It's most likely not a bug but internal changes in how PHP code is compiled to bytecodes. The change in the coverage is a side effect of that (e.g. like the Xdebug issue #1479). |
Please squash the commits and let's get it merged. |
We don't squash-merge using GitHub UI because GitHub doesn't create a merge commit (which is what we want) - please squash the commits manually. 😊 |
Also since you did quite some work, you may keep your work as separate commit, or add yourself into |
Co-authored-by: Michael Moravec <me@majkl.me> Co-authored-by: Benjamin Morel <benjamin.morel@gmail.com>
e9a181c
to
c9daea6
Compare
I didn't know who the commit would belong to, so I added both of our names (looks like it picked you as the owner, I guess because yours was the first commit?), anyway that seems to work 👍 For my personal knowledge, could you please explain very briefly what's the difference between a merge commit and the squash-and-merge functionality of GitHub? |
If everyone is comfortable with the way the work is attributed, I'll merge it in a couple of hours:
If it's a single commit, based on the amount of work done, I think it'd be fair if it's attributed like:
What do you say? |
I don't mind either way! |
Thanks 👍 @morozov could you please reply to my comment above?
|
The difference is: |
Travis CI nightly is now PHP 7.4-dev. PHP 7.3 is now available on Travis.
This PR adds Travis tests on PHP 7.3.