Run code sniffer also in plugin root directory

[MAILPOET-2429]
This commit is contained in:
Jan Jakeš
2019-10-10 13:23:04 +02:00
committed by Jack Kitterhing
parent e1132f9e92
commit cc62da6cb3
2 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
<?php
// phpcs:ignore PSR1.Classes.ClassDeclaration
class RoboFile extends \Robo\Tasks {
const ZIP_BUILD_PATH = __DIR__ . '/mailpoet.zip';
@@ -377,6 +378,11 @@ class RoboFile extends \Robo\Tasks {
'lib',
'tests',
])
// PHP >= 5.6 in plugin root directory
->taskExec($task)
->rawArg('--runtime-set testVersion 5.6-7.3')
->rawArg('-l .')
)
->run();
}