-
Notifications
You must be signed in to change notification settings - Fork 539
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
CI: added PHP 8.4 #723
CI: added PHP 8.4 #723
Conversation
@j0k3r What do you think? I saw a few warnings in PHP 8.4 test report and will have a look later on. |
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.
Good idea 👍🏼
5c52944
to
5119cc7
Compare
Github has hiccups currently... Saw and still see these errors when running tests. First it seems they all failed but in the end almost all went through.
Stopped working on the PR for now, because I want to see the hidden warnings when running tests using PHP 8.4 and can't reach test logs because of these weird errors. |
Warnings were: 1) /var/www/html/src/Smalot/PdfParser/Font.php:292 range(): Argument #1 ($start) must not be empty, casted to 0 Triggered by: * PHPUnitTests\Integration\FontTest::testCalculateTextWidthNoWidthsKey /var/www/html/tests/PHPUnit/Integration/FontTest.php:473 2) /var/www/html/src/Smalot/PdfParser/Font.php:292 range(): Argument #2 ($end) must not be empty, casted to 0 Triggered by: * PHPUnitTests\Integration\FontTest::testCalculateTextWidthNoWidthsKey /var/www/html/tests/PHPUnit/Integration/FontTest.php:473
…ned comment in Font.php
Summary:
In the following the output of PHPUnit (10.x) when running on PHP 8.4 RC2:
CC @j0k3r Any objection or can we merge it? |
It's ok! |
Type of pull request
About
PHP 8.4 is still in alpha so there is no need to hurry. I wanted to have it integrated already so we can observe changes and how PDFParser behaves.