You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
I am running into an issue where running composer lint:wpc is returning errors for PHP version 5.2 and earlier.
Error I recieve:
$ composer lint:wpc
> @php ./vendor/squizlabs/php_codesniffer/bin/phpcs
....E.. 7 / 7 (100%)
FOUND 5 ERRORS AFFECTING 4 LINES
------------------------------------------------------------------------------------------------------------------------
8 | ERROR | "namespace" keyword is not present in PHP version 5.2 or earlier
| | (PHPCompatibility.Keywords.NewKeywords.t_namespaceFound)
Searching for testVersion in previous issues I found this issue #1393.
I have tried adding the specified testVersion number back in as a command argument in the composer.json file and running the command does not return any errors.