Problem/Motivation

PHP7 changed their Uniform Variable Syntax (according to this section of a lovely PHP7 reference document).

A search with following regex -\>\$[a-z0-9]*?\[ revealed 2 locations that are affected.

Proposed resolution

Use the new syntax with brackets to be php7 compatible.

Remaining tasks

Reviews needed.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#3 pathauto_entity-php7-2781967-2.patch1.24 KBklausi

Comments

klausi created an issue. See original summary.

klausi’s picture

Issue tags: +PHP 7.0 (duplicate)
klausi’s picture

Status: Active » Needs review
StatusFileSize
new1.24 KB

Patch.

Status: Needs review » Needs work

The last submitted patch, 3: pathauto_entity-php7-2781967-2.patch, failed testing.

joelpittet’s picture

Status: Needs work » Reviewed & tested by the community
joelpittet’s picture

The CI error is because testing is turned on but there are no tests.

maciej.zgadzaj’s picture

Status: Reviewed & tested by the community » Fixed

Thanks Klaus! Committed and pushed to d.o.

Status: Fixed » Closed (fixed)

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