This currently presumes that all themes should be compatible with PHP 5.2-nightly.
At a later point in time, we may be able to make this more configurable by reading out the Requires PHP: header in the style.css file and, if found, using the minimum PHP version set there for the bottom limit in testVersion.
For now, the testVersion as set in the ruleset can be overruled from the command-line by passing a testVersion as a command-line parameter, like so: phpcs ... --runtime-set testVersion 5.4-.
This currently presumes that all themes should be compatible with PHP 5.2-nightly.
At a later point in time, we may be able to make this more configurable by reading out the
Requires PHP:
header in thestyle.css
file and, if found, using the minimum PHP version set there for the bottom limit intestVersion
.For now, the
testVersion
as set in the ruleset can be overruled from the command-line by passing atestVersion
as a command-line parameter, like so:phpcs ... --runtime-set testVersion 5.4-
.Fixes #173