Problem/Motivation

Tests are not being run since https://www.drupal.org/pift-ci-job/739564.
We introduced:

$shown_profile = ((array) $elements[0])[0];

which is not valid for 5.5

Proposed resolution

Use an additional variable preventing direct access.

Remaining tasks

Patch with fix ensuring it passes for php5.5.

User interface changes

None

API changes

None

Data model changes

None

Comments

penyaskito created an issue. See original summary.

penyaskito’s picture

Status: Active » Needs review
StatusFileSize
new605 bytes

Attached patch.

penyaskito’s picture

StatusFileSize
new685 bytes
new1.26 KB

Removed $moduleHandler already defined in trait.

penyaskito’s picture

Status: Needs review » Reviewed & tested by the community

Passed as expected.

  • penyaskito committed 2747b46 on 8.x-2.x
    Issue #2905953 by penyaskito: Syntax errors with PHP5.5: tests not being...
penyaskito’s picture

Status: Reviewed & tested by the community » Fixed

Committed 2747b46 and pushed to 8.x-2.x. Thanks!

Status: Fixed » Closed (fixed)

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