I assume that we are now in code cleanup phase. I use PhpStorm to find possible bugs and problems in the Drupal 8 core. Normally I will not alter code flow. If I find problems in a file, which I will not fix, but find suspicious. I'll mention it in the text here.

And also, this is my first patch to the D8 core. So bare with me if I do something not as expected.

Checked: utility.inc file.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ro-no-lo’s picture

Status: Active » Needs review
FileSize
999 bytes

Status: Needs review » Needs work

The last submitted patch, drupal_core-code_cleanup_doc_cleanup-1965200.patch, failed testing.

ro-no-lo’s picture

Status: Needs work » Needs review

Damn I diffed into the wrong direction.

ro-no-lo’s picture

Did the patch file again.

manarth’s picture

Status: Needs review » Reviewed & tested by the community

+1. The removal of line $line_safe_var = str_replace("\n", '\n', $var); looked odd, but the $line_safe_var variable is not used later in the function.

YesCT’s picture

Issue tags: +RTBC July 1

This issue was RTBC and passing tests on July 1, the beginning of API freeze.

YesCT’s picture

Title: PHP Code and Code Style cleanup. » PHP Code and Code Style cleanup in utility.inc file.
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed a7a57fa and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue