Check data factories with PHPStan, fix discovered problems

[MAILPOET-2429]
This commit is contained in:
Jan Jakeš
2019-10-16 13:44:04 +02:00
committed by Jack Kitterhing
parent eb02627a98
commit ffc11af689
4 changed files with 11 additions and 2 deletions

View File

@@ -476,7 +476,12 @@ class RoboFile extends \Robo\Tasks {
// tests
->taskExec($task)
->rawArg('--configuration=phpstan-tests.neon')
->arg("$dir/tests/unit")
->rawArg(
implode(' ', [
"$dir/tests/DataFactories",
"$dir/tests/unit",
])
)
->dir(__DIR__ . '/tasks/phpstan')
->taskExec('cd ' . __DIR__ . ' && ./tools/vendor/composer.phar install')