Update php version range for code sniffer
[MAILPOET-3296]
This commit is contained in:
committed by
Veljko V
parent
7155aa03f9
commit
703fbe53a8
@@ -394,7 +394,7 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
|
|
||||||
// PHP >= 7.1 for lib & tests
|
// PHP >= 7.1 for lib & tests
|
||||||
->taskExec($task)
|
->taskExec($task)
|
||||||
->rawArg('--runtime-set testVersion 7.1-7.4')
|
->rawArg('--runtime-set testVersion 7.1-8.0')
|
||||||
->arg('--ignore=' . implode(',', [
|
->arg('--ignore=' . implode(',', [
|
||||||
'lib/Config/PopulatorData/Templates',
|
'lib/Config/PopulatorData/Templates',
|
||||||
'tests/_data',
|
'tests/_data',
|
||||||
@@ -409,12 +409,12 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
|
|
||||||
// PHP >= 7.1 in plugin root directory
|
// PHP >= 7.1 in plugin root directory
|
||||||
->taskExec($task)
|
->taskExec($task)
|
||||||
->rawArg('--runtime-set testVersion 7.1-7.4')
|
->rawArg('--runtime-set testVersion 7.1-8.0')
|
||||||
->rawArg('-l .')
|
->rawArg('-l .')
|
||||||
|
|
||||||
// PHP >= 7.2 for dev tools, etc.
|
// PHP >= 7.2 for dev tools, etc.
|
||||||
->taskExec($task)
|
->taskExec($task)
|
||||||
->rawArg('--runtime-set testVersion 7.2-7.4')
|
->rawArg('--runtime-set testVersion 7.2-8.0')
|
||||||
->arg('--ignore=' . implode(',', [
|
->arg('--ignore=' . implode(',', [
|
||||||
'prefixer/build',
|
'prefixer/build',
|
||||||
'prefixer/vendor',
|
'prefixer/vendor',
|
||||||
@@ -440,7 +440,7 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
->taskExec(
|
->taskExec(
|
||||||
'./tasks/code_sniffer/vendor/bin/phpcbf ' .
|
'./tasks/code_sniffer/vendor/bin/phpcbf ' .
|
||||||
'--standard=./tasks/code_sniffer/MailPoet ' .
|
'--standard=./tasks/code_sniffer/MailPoet ' .
|
||||||
'--runtime-set testVersion 7.1-7.4 ' .
|
'--runtime-set testVersion 7.1-8.0 ' .
|
||||||
$filePath . ' -n'
|
$filePath . ' -n'
|
||||||
)
|
)
|
||||||
->run();
|
->run();
|
||||||
|
Reference in New Issue
Block a user