• In the latest update the patch notes mention the plugin has bumped the minimum PHP version to 7.2. This is all fine and well but some of our websites have started showing errors.

    Looking through the code you have used ‘typed properties’ in a few cases, for example in Bootstrap.php:
    private static ?Bootstrap $instance = null;

    private array $opts;

    Typed properties are only supported from 7.4 onwards, please either bump up either the minimum required PHP version or refrain from using typed properties if you want to remain 7.2 compatible.

Viewing 1 replies (of 1 total)
  • Plugin Author Sibin Grasic

    (@seebeen)

    Hello Dylan,

    Thanks for the feedback. Unfortunately, PHPCS decided to “fix” my code because I didn’t setup the version properly.

    Version 3.0.1 has been released.

    Cheers,
    Sibin

Viewing 1 replies (of 1 total)
  • The topic ‘Version 3.0 seems to be incompatible with PHP versions < 7.4’ is closed to new replies.