LEClient
LEClient copied to clipboard
Exception Classes are not PHP5 compatible
Class constant visibility is only allowed since PHP 7.1
Example in LEConnectorException
public const NONEWNONCEEXCEPTION = 0x11;
public const ACCOUNTDEACTIVATEDEXCEPTION = 0x12;
public const METHODNOTSUPPORTEDEXCEPTION = 0x13;
public const CURLERROREXCEPTION = 0x14;
public const INVALIDRESPONSEEXCEPTION = 0x15;
Considering that PHP8 is current, I doubt anyone will have time to maintain support for PHP5.
@TheRealSimpleSimon
Considering the guidance on your repo states The minimum required PHP version is 5.2.0. , the pull request is valid.
Did anyone actually need to introduce constant visibility? If you are keeping the change you need to update your minimum required PHP version to 7.1