-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fixed: PHP 8: Views Handlers: Filter: in_operator - Array to string conversion #5313
Comments
A PR is available for review. The ViewsHandlerFilterInOperator test is green now with PHP 8. |
Yes they exist - just moved elsewhere in Backdrop: indigoxela/backdrop#3 |
Ah, there they are, thanks for the hint. 👍 I'm a bit unhappy with your unrelated changes. Especially in function view_comment_user_uid(). |
Hm, strange, a small part solves a failing test in Drupal, but that test passes in Backdrop. Need to take a closer look - with a fresh mind (not today). (CommentViewsHandlerArgumentUserUidTest) |
Yes, the entire file was less than 100 lines, and I felt that it could be tidied up comment-wise (comments exceeding 80 characters, missing periods at the end of comments, a comment on the same line as the thing it's describing, using C style comments which is discouraged etc.). Sure, feel free to revert those. But I have a feeling that these coding standard violations will never get fixed if we don't gradually fix the files we touch. ...I for one would not be bothered to file a separate issue/PR for them 🤷🏼
Sure. Rest up 👍🏼 |
Riddles solved, issue description updated, back to "needs review". @klonos I did a little less cleanup, only in the function that actually changes, to not bloat the PR. |
I can live with that 🙂 ...RTBC 👍🏼 |
The PHP version in GHA has been reset to 7.4, ready for merge. |
By @indigoxela, @klonos. Ported from Drupal issue #3207982 by DamienMcKenna.
By @indigoxela, @klonos. Ported from Drupal issue #3207982 by DamienMcKenna.
Excellent, thank you @indigoxela! I merged backdrop/backdrop#3799 into 1.x and 1.20.x. |
Description of the bug
Part of #5076
Failing tests with PHP 8:
Reason: str_replace() chokes on nested array in
$condition['value']
Related Drupal commit and issue
https://git.drupalcode.org/project/views/-/commit/75ea48e0e6bdae213c960090a0c8aea46db0c69a
https://www.drupal.org/project/views/issues/3207982
There are additional changes in that commit.
The text was updated successfully, but these errors were encountered: