Comments

mkalkbrenner created an issue. See original summary.

mkalkbrenner’s picture

Status: Active » Needs review
StatusFileSize
new937 bytes
borisson_’s picture

Status: Needs review » Reviewed & tested by the community

This is the failure we're also getting for facets on travis.

edurenye’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new4.42 KB
new5.1 KB

This happens in a lot of other places in that file.

borisson_’s picture

I think #4 does too much. I'd much prefer to see #2 committed.

edurenye’s picture

With the #2 I couldn't have the module installed, the #4 works fine for me, maybe you are right and it's too much, but the #2 for sure is not enough.
I might keep fixing them until the installation was working, but I just proceeded to fix them all.

drunken monkey’s picture

StatusFileSize
new1.19 KB
new1.06 KB

I agree: #4 is too much, but #2 is too little (but also too much). The attached should be the complete fix, I think. (Interdiff compared to #2.)

For reference, the problem is this change in PHP 7: Changes to the handling of indirect variables, properties, and methods. So, we only need to change those instances where it's ambiguous, not all of them.

I actually thought we already had some issue that fixed all these problems? (As I recall, also with someone who wanted to replace every single indirect property reference to add curly braces.) Or was that in some other module?

Anyways, thanks a lot for reporting! We, of course, should definitely fix this!

drunken monkey’s picture

Status: Needs review » Fixed

Received Joris' blessing in IRC and test bot agrees: committed.
Thanks again everyone!

(Ah, and again forgot Joris in the commit message! >__< Sorry, was in a bit of a hurry!)

Status: Fixed » Closed (fixed)

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