-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix PHP 8 error: Function libxml_disable_entity_loader() is deprecated
#6
Conversation
Signed-off-by: Filippo Tessarotto <[email protected]>
@@ -21,6 +21,7 @@ jobs: | |||
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php | |||
with: | |||
php-version: ${{ matrix.php-versions }} | |||
ini-values: error_reporting=E_ALL |
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.
This only bypasses the deprecated method on PHP 8+, but that's wrong.. We need to know what alternative replaces this call. |
Nothing: https://www.php.net/manual/en/migration80.deprecated.php#migration80.deprecated.libxml Same fix was applied in |
Ok thanks very much! I'm surprised to see a PR in this (yet) unused repository :) |
I need to upgrade my production to PHP 8, and v4 of |
Codecov Report
@@ Coverage Diff @@
## master #6 +/- ##
============================================
+ Coverage 18.01% 18.44% +0.43%
- Complexity 121 123 +2
============================================
Files 10 10
Lines 372 374 +2
============================================
+ Hits 67 69 +2
Misses 305 305 |
Ah, well in this case I must warn you that saml2 |
I see no harm in adding php 8 to the supported versions for saml2 v4, so if that would help you, please let me know |
Easy to tame on projects with 100% Mutation testing score + max level on static analysis tools |
As a OSS maintainer myself, I would suggest you to support every actively supported PHP version until you release a new stable of your own. |
No description provided.