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
TASK: PHP 7.4 compatibility #2804
Conversation
Haha, this still needs PHP 7.4 to be enabled for Travis… feel free, I have to run 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.
👍 by reading
This change - removes PostgreSQL tests with PHP 7.1 - adds tests on PHP 7.3 - adds tests on PHP 7.4 - switches PostgreSQL 9.4 to 9.5 to tests
PostgreSQL 9.4 will stop being supported in February 2020.
FYI: The test failures will be fixed with Behat/Transliterator#29 |
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.
Looks good, but not sure about those test failures - something Gd, rather than Behat/Transliterator, no?
Haha, right. I only knew |
Ok, still waiting for Maybe go this way, too? https://github.com/KnpLabs/DoctrineBehaviors/pull/468/files#diff-c5f7d7b9e0f14fa580860143f56f3b7f |
Tried
I can imagine the previous results were wrong, so… how do we check that? |
@kdambekalns at least this one is weird
In general I don't think we should change the transliteration behavior in minor (or even patch) level releases as it can have a great effect. For the long run I would prefer to avoid any 3rd party library and use the built-in |
Hah, been there, done that. If you can find that "sane configuration", ideally backed by some documentation that humans can understand, go ahead. In the meantime, let's see what pinning |
I should have seen that coming. Of course using a dev version is impossible unless whitelisted one way or the other in your root manifest. Which we could do for our base and development distributions, but expecting everyone out there to adjust their's seems a bit too much. |
fd8e72d
to
9a8c73c
Compare
@kdambekalns Looks like we are ready for 7.4 https://github.com/Behat/Transliterator/releases/tag/v1.3.0 |
🎉 |
starting with PHP 7.4 it's not cool to do offset access on integers (which returns null always) I did a little digging, and we have this skip keys logic 3 times in the runtime (probably not extracted for performance reasons) 2 times this logic needs to be adjusted to only operate on strings. Those two snippets where introduced with neos#2738 And 1 time this logic already has an is_string check. https://github.com/neos/neos-development-collection/blob/046e5d02750af0ebf33cc52663799ce09683ba37/Neos.Fusion/Classes/Core/Runtime.php#L667 This was adjusted when 7.4 compatibility was introduced via neos#2804 but the other two references where not adjusted
See neos/flow-development-collection#1866