-
Notifications
You must be signed in to change notification settings - Fork 191
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 #481
PHP 8 #481
Conversation
Can you look at the Scrutinizer build and why that fails? Seems like the right moment to fix that too. |
0d72cc7
to
b63d578
Compare
Yeah, I understand. |
b63d578
to
dec593f
Compare
ae6a5b1
to
328c0fc
Compare
328c0fc
to
d993aaa
Compare
0953ded
to
aa1bd37
Compare
@DerMika fixed the Scrutinizer |
I guess you can go ahead and release? I'm not sure if you'll need permissions on |
@DerMika thanks. I will do it a bit later (when have free time) |
As per #480 I'm creating this PR to lock the library to PHP 8.
Updated PHPUnit dependency to ^9.6
Not sure what is situation with CI right now (probably not working).
Min version in
composer.json
is 8.1, but I tested on 8.3.Fixed all unit tests to be compatible with PHP 8.1+ and newer version of PHPUnit:
There is no new alternative of
assertEqualXMLStructure
(seems they decided to just remove this method without replacement, it just stayed a draft), but it should be ok for now.My live application was using this library under PHP 8.3 long enough, didn't know any issues.
Checked under this branch air booking flow and ticketing.