Code formatting

This commit is contained in:
Cédric Belin
2019-04-15 19:22:15 +02:00
parent 94c3cddd21
commit 76e8cfa0a4
13 changed files with 91 additions and 273 deletions

View File

@ -4,14 +4,10 @@ use Robo\{Result, Tasks};
// Load the dependencies.
require_once __DIR__.'/vendor/autoload.php';
/**
* Provides tasks for the build system.
*/
/** Provides tasks for the build system. */
class RoboFile extends Tasks {
/**
* Creates a new task runner.
*/
/** Creates a new task runner. */
function __construct() {
$path = (string) getenv('PATH');
$vendor = (string) realpath('vendor/bin');
@ -100,8 +96,6 @@ class RoboFile extends Tasks {
* @return Result The task result.
*/
function watch(): Result {
return $this->taskWatch()
->monitor('test', function() { $this->test(); })
->run();
return $this->taskWatch()->monitor('test', function() { $this->test(); })->run();
}
}