Problem/Motivation

I know PHP 7.3 is unsupported, but this module should either declare a minimum version requirement or fix it to work on 7.3 (7.3 is supported by d9)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork monolog-3256472

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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

eiriksm created an issue. See original summary.

eiriksm’s picture

Status: Active » Needs review
eiriksm’s picture

Version: 2.0.0 » 2.x-dev

Trying to trigger tests to prove the error 🤓

eiriksm’s picture

Gah, wanted to be clever here and manage to do this on my phone. So my bug report analysis is also based on using my phone but I don't think typed properties are allowed in 7.3. IE protected array $channels should be protected $channels

No idea why the tests are not starting though?

eiriksm’s picture

Status: Needs review » Needs work
eiriksm’s picture

Status: Needs work » Needs review

Last try to start tests

eiriksm’s picture

Seems the branch is not configured to test on issues. So either enable that, or start at 7.3 test on the 2.x branch manually should reveal the "bug"

lussoluca’s picture

Hi,
at this point I think I prefer to set 7.4 as the minimum PHP version supported.
Core supports 7.3 but is not recommended.

eiriksm’s picture

Ok, no worries. Then this should be reflected in composer.json so it's not possible by mistake. Updated PR for this

lussoluca’s picture

Status: Needs review » Needs work

This way it works only on php greater than 7.4 but not on php 8

lussoluca’s picture

Title: Syntax error on PHP 7.3 » Drop support for PHP lesser than 7.4

  • lussoluca committed bad7446 on 2.x authored by eiriksm
    Issue #3256472 by eiriksm: Drop support for PHP lesser than 7.4
    
lussoluca’s picture

Status: Needs work » Fixed

I've resolved with "php": "^7.4|^8",

eiriksm’s picture

Ah geez you are totally right. Sorry about that. I guess it's incredible that I can open an issue and suggest a fix, all on my phone. At the same time, code quality...

Anyway, thanks for the quick fix!

Status: Fixed » Closed (fixed)

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