Update code sniffinch checks
[MAILPOET-3144]
This commit is contained in:
10
RoboFile.php
10
RoboFile.php
@ -393,9 +393,9 @@ class RoboFile extends \Robo\Tasks {
|
||||
|
||||
return $this->collectionBuilder()
|
||||
|
||||
// PHP >= 7.0 for lib & tests
|
||||
// PHP >= 7.1 for lib & tests
|
||||
->taskExec($task)
|
||||
->rawArg('--runtime-set testVersion 7.0-7.4')
|
||||
->rawArg('--runtime-set testVersion 7.1-7.4')
|
||||
->arg('--ignore=' . implode(',', [
|
||||
'lib/Config/PopulatorData/Templates',
|
||||
'tests/_data',
|
||||
@ -408,9 +408,9 @@ class RoboFile extends \Robo\Tasks {
|
||||
'tests',
|
||||
])
|
||||
|
||||
// PHP >= 7.0 in plugin root directory
|
||||
// PHP >= 7.1 in plugin root directory
|
||||
->taskExec($task)
|
||||
->rawArg('--runtime-set testVersion 7.0-7.4')
|
||||
->rawArg('--runtime-set testVersion 7.1-7.4')
|
||||
->rawArg('-l .')
|
||||
|
||||
// PHP >= 7.2 for dev tools, etc.
|
||||
@ -441,7 +441,7 @@ class RoboFile extends \Robo\Tasks {
|
||||
->taskExec(
|
||||
'./tasks/code_sniffer/vendor/bin/phpcbf ' .
|
||||
'--standard=./tasks/code_sniffer/MailPoet ' .
|
||||
'--runtime-set testVersion 7.0-7.4 ' .
|
||||
'--runtime-set testVersion 7.1-7.4 ' .
|
||||
$filePath . ' -n'
|
||||
)
|
||||
->run();
|
||||
|
Reference in New Issue
Block a user