Problem/Motivation

See https://www.drupal.org/pift-ci-job/1916161, I accidentaly included PHP 7.1 syntax in a recent issue.

We should either revert that or explicitly mark it as requiring PHP 7.1+ in .info.yml and composer.json, so it can't be installed on older versions. Can't fix the release out there, but can at least mark future ones correctly.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3188415-2.patch546 bytesmatroskeen

Issue fork token-3188415

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Berdir created an issue. See original summary.

matroskeen’s picture

Status: Active » Needs review
StatusFileSize
new546 bytes

There is no need to revert, the fix is pretty easy

Upd: I'm sorry, I didn't notice Novice tag 🙄

wizonesolutions’s picture

I vote for committing this patch because Commerce (and thus Commerce Recurring) still supports PHP 7 and uses Token. That's obviously not your problem, but would be great if possible.

I will reproduce the issue locally and test this today and RTBC if all looks good.

wizonesolutions’s picture

Status: Needs review » Reviewed & tested by the community

Works great. Opened it as a merge request as well now.

berdir’s picture

> There is no need to revert, the fix is pretty easy

I meant revert in the conceptual way of reverting the change, not a git revert, so exactly what you did ;)

Fine with committing this, will just have to be careful to not break this, maybe set the default php version for tests to 7.0 for now.

wizonesolutions’s picture

That's what Commerce Recurring does, so not a bad idea.

  • Berdir committed 6b2701e on 8.x-1.x authored by wizonesolutions
    Issue #3188415 by wizonesolutions, Matroskeen: PHP 7.1 syntax in token....
berdir’s picture

Status: Reviewed & tested by the community » Fixed

Committed

Status: Fixed » Closed (fixed)

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