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
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.
I am running into an issue where running composer lint:wpc is returning errors for PHP version 5.2 and earlier.
Error I recieve:
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.
Any ideas why setting the version number with testVersion in phpcs.xml.dist is not working?
The text was updated successfully, but these errors were encountered: