@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | class RoboFile extends \Robo\Tasks |
| 17 | 17 | { |
| 18 | - /** |
|
| 18 | + /** |
|
| 19 | 19 | * Watch a file. |
| 20 | 20 | * |
| 21 | 21 | * Demonstrates the 'watch' command. Runs 'composer update' any time |
@@ -89,23 +89,23 @@ |
||
| 89 | 89 | $this->checkResources($targets); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - /** |
|
| 93 | - * Wrapper method around phps is_dir() |
|
| 94 | - * |
|
| 95 | - * @param string $directory |
|
| 96 | - * @return boolean |
|
| 97 | - */ |
|
| 92 | + /** |
|
| 93 | + * Wrapper method around phps is_dir() |
|
| 94 | + * |
|
| 95 | + * @param string $directory |
|
| 96 | + * @return boolean |
|
| 97 | + */ |
|
| 98 | 98 | protected function isDir($directory) |
| 99 | 99 | { |
| 100 | 100 | return is_dir($directory); |
| 101 | 101 | } |
| 102 | 102 | |
| 103 | - /** |
|
| 104 | - * Wrapper method around phps file_exists() |
|
| 105 | - * |
|
| 106 | - * @param string $file |
|
| 107 | - * @return boolean |
|
| 108 | - */ |
|
| 103 | + /** |
|
| 104 | + * Wrapper method around phps file_exists() |
|
| 105 | + * |
|
| 106 | + * @param string $file |
|
| 107 | + * @return boolean |
|
| 108 | + */ |
|
| 109 | 109 | protected function isFile($file) |
| 110 | 110 | { |
| 111 | 111 | return file_exists($file); |
@@ -73,7 +73,6 @@ |
||
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * Path to the bootstrap file. |
| 76 | - |
|
| 77 | 76 | * @param $file |
| 78 | 77 | * |
| 79 | 78 | * @return $this |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | } |
| 87 | 87 | while (false !== ($file = readdir($dir))) { |
| 88 | 88 | if (in_array($file, $this->exclude)) { |
| 89 | - continue; |
|
| 89 | + continue; |
|
| 90 | 90 | } |
| 91 | 91 | if (($file !== '.') && ($file !== '..')) { |
| 92 | 92 | $srcFile = $src . '/' . $file; |
@@ -4,9 +4,9 @@ discard block |
||
| 4 | 4 | trait loadTasks |
| 5 | 5 | { |
| 6 | 6 | /** |
| 7 | - * @param $input |
|
| 8 | - * @return Minify |
|
| 9 | - */ |
|
| 7 | + * @param $input |
|
| 8 | + * @return Minify |
|
| 9 | + */ |
|
| 10 | 10 | protected function taskMinify($input) |
| 11 | 11 | { |
| 12 | 12 | return $this->task(Minify::class, $input); |
@@ -21,10 +21,10 @@ discard block |
||
| 21 | 21 | return $this->task(ImageMinify::class, $input); |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - /** |
|
| 25 | - * @param $input |
|
| 26 | - * @return Less |
|
| 27 | - */ |
|
| 24 | + /** |
|
| 25 | + * @param $input |
|
| 26 | + * @return Less |
|
| 27 | + */ |
|
| 28 | 28 | protected function taskLess($input) |
| 29 | 29 | { |
| 30 | 30 | return $this->task(Less::class, $input); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | return $taskCodecept->run(); |
| 28 | - } |
|
| 28 | + } |
|
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * Code sniffer. |