mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2026-01-18 10:09:12 +01:00
Code formatting
This commit is contained in:
12
RoboFile.php
12
RoboFile.php
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user