-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Builds are failing (PHP 7.4) #446
Comments
The real error can be checked by removing |
Also probably related: humbug/php-scoper#357 |
To clarify: builds are failing on all PHP versions at the moment. |
Hm ok, will try to take a look this week |
The actual failure:
Before I upgraded PHP on my machine I had other debugging information in there - something about raising limits - that's why I thought it's related to #444. Strangely that build has passed... |
Hm indeed, can also be related to either xdebug itself or the composer/xdebug-handler package |
It's inconsistent between PHP versions. We shouldn't rely on output this much imo. If I fix PHPUnit tests run directly on travis, there's some failing on docker (i think). I think the test suite could do a lot with making it portable. |
Indeed might be worth to pin those on a specific version via docker. I don't want to rely too much on this input, but since it's essential logs I also want to make sure those messages are displayed correctly... |
Well, in my view we should never assert the whole output, but rather look for specific parts. I.e.
these are separate test. |
but if you do that you are missing where those are displayed, which has its importance... |
if order is important you encode it in a test. |
This is required for box to actually work on PHP 7.4: opis/closure#42 |
I was trying to build on PHP 7.4 and noticed failures are not PHP version related.
i.e. https://travis-ci.org/humbug/box/jobs/611311228
Also, on my machine I get some additional debugging information as a result of #444. The
test_it_can_build_a_PHAR_file_in_debug_mode
test fails because of this with an unclear error:The text was updated successfully, but these errors were encountered: