Check also tasks and tools with code sniffer

[MAILPOET-2429]
This commit is contained in:
Jan Jakeš
2019-10-10 13:39:12 +02:00
committed by Jack Kitterhing
parent cc62da6cb3
commit 7ecabdba3a
14 changed files with 88 additions and 64 deletions

View File

@ -383,7 +383,24 @@ class RoboFile extends \Robo\Tasks {
->taskExec($task)
->rawArg('--runtime-set testVersion 5.6-7.3')
->rawArg('-l .')
// PHP >= 7.2 for dev tools, etc.
->taskExec($task)
->rawArg('--runtime-set testVersion 7.2-7.3')
->arg('--ignore=' . implode(',', [
'prefixer/build',
'prefixer/vendor',
'tasks/code_sniffer/vendor',
'tasks/makepot',
'tools/vendor',
])
)
->args([
'.circleci',
'prefixer',
'tasks',
'tools',
])
->run();
}