-
Notifications
You must be signed in to change notification settings - Fork 28
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
Attempt to get working under PHP 8.0 and 8.1 #161
Conversation
fb2c298
to
e4e3421
Compare
Codecov ReportBase: 75.55% // Head: 75.34% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## 3.x #161 +/- ##
============================================
- Coverage 75.55% 75.34% -0.21%
- Complexity 159 160 +1
============================================
Files 6 6
Lines 589 572 -17
============================================
- Hits 445 431 -14
+ Misses 144 141 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
666a386
to
bbdcfd2
Compare
Hey @nigelgbanks you are welcome to work on this, but I wanted to note that #133 is using Symfony 4.4 for all the microservices. It doesn't currently test PHP 8 but it might be a lower bar. |
Hi @whikloj, thanks for pointing that out, at the moment I'm testing infrastructure changes that require a move to PHP 8.1 I'll probably stick to working against 2.x until 3.x is officially released. |
I understand, I'm just not super confident on when that will happen. |
Just a heads up for 8.1 tests are failing due to guzzle https://github.com/guzzle/psr7/blob/8f0a09ce19adcf28f25ff9d90e7329488501b363/src/StreamWrapper.php#L47 is passing a |
bbdcfd2
to
5e17b61
Compare
So looking in the previous comment it would force me to update chullo which would affect crayfish-commons which would affect the islandora module, this would force users onto Drupal 9.4 and later. So I'll just patch it. |
Can't easily patch it I'll just change the setting to ignore deprecations in the unit tests. |
5e17b61
to
22bc67f
Compare
@whikloj it's finally ready for review 🙃 |
4649a43
to
ab310c5
Compare
- Removed lock file - Updated test matrix - Fixed tests to work on php 7.4, 8.0, 8.1 For reasons behind removing the lock file see: https://islandora.slack.com/archives/CM5PPAV28/p1659631615201049 Islandora/documentation#1908 (Removal approved) Instead we'll provide lock files in isle and ansible deployments. Additionally moving to drop tests for 7.3 as it is no longer supported by Drupal 9.4 and up.
ab310c5
to
3dee7c6
Compare
I'm sorry @nigelgbanks, I'm trying to build a vagrant box with 8.0 to test this right now. |
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.
Tested with PHP 8.0 and 8.1 👍
Upgrade symphony dependencies to ^4.4 to match up with Drupal 9.
Gonna test with all the other services at once, will post my results.
PHP is stopping security updates for 7.4 in November.
https://www.php.net/supported-versions.php