@@ -274,6 +274,9 @@ |
||
274 | 274 | } |
275 | 275 | } |
276 | 276 | |
277 | + /** |
|
278 | + * @param integer $size |
|
279 | + */ |
|
277 | 280 | private function formatBytes($size, $precision = 2) |
278 | 281 | { |
279 | 282 | if (!$size) { |
@@ -105,7 +105,6 @@ discard block |
||
105 | 105 | |
106 | 106 | /** |
107 | 107 | * @param string $className |
108 | - * @param string $srcDir |
|
109 | 108 | * |
110 | 109 | * @return string |
111 | 110 | */ |
@@ -304,7 +303,6 @@ discard block |
||
304 | 303 | } |
305 | 304 | |
306 | 305 | /** |
307 | - * @param ReflectionClass $this->reflectionClass |
|
308 | 306 | * |
309 | 307 | * @return string |
310 | 308 | */ |
@@ -2,10 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace PHPChunkit; |
4 | 4 | |
5 | -use PHPChunkit\Configuration; |
|
6 | -use PHPChunkit\PHPChunkitApplication; |
|
7 | -use Symfony\Component\Console\Application; |
|
8 | - |
|
9 | 5 | /** |
10 | 6 | * @testClass PHPChunkit\Test\PHPChunkitTest |
11 | 7 | */ |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace PHPChunkit; |
4 | 4 | |
5 | -use PHP_Token_Stream; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * @testClass PHPChunkit\Test\TestCounterTest |
9 | 7 | */ |
@@ -188,6 +188,9 @@ |
||
188 | 188 | return $process->getExitCode(); |
189 | 189 | } |
190 | 190 | |
191 | + /** |
|
192 | + * @param string $command |
|
193 | + */ |
|
191 | 194 | public function getProcess($command, array $env = []) : Process |
192 | 195 | { |
193 | 196 | foreach ($env as $key => $value) { |
@@ -2,14 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace PHPChunkit; |
4 | 4 | |
5 | -use PHPUnit_Framework_TestCase; |
|
6 | 5 | use RuntimeException; |
7 | 6 | use Symfony\Component\Console\Application; |
8 | 7 | use Symfony\Component\Console\Input\ArrayInput; |
9 | 8 | use Symfony\Component\Console\Input\InputInterface; |
10 | 9 | use Symfony\Component\Console\Output\Output; |
11 | 10 | use Symfony\Component\Console\Output\OutputInterface; |
12 | -use Symfony\Component\Finder\Finder; |
|
13 | 11 | use Symfony\Component\Process\Process; |
14 | 12 | |
15 | 13 | /** |