@@ -12,9 +12,6 @@ |
||
| 12 | 12 | namespace spec\LIN3S\CS\Error; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Prophecy\Argument; |
|
| 16 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 17 | -use Symfony\Component\Process\Process; |
|
| 18 | 15 | |
| 19 | 16 | /** |
| 20 | 17 | * Spec file of Error class. |
@@ -12,9 +12,6 @@ |
||
| 12 | 12 | namespace spec\LIN3S\CS\Exception; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Prophecy\Argument; |
|
| 16 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 17 | -use Symfony\Component\Process\Process; |
|
| 18 | 15 | |
| 19 | 16 | /** |
| 20 | 17 | * Spec file of CheckFail exception class. |
@@ -12,9 +12,6 @@ |
||
| 12 | 12 | namespace spec\LIN3S\CS\Exception; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Prophecy\Argument; |
|
| 16 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 17 | -use Symfony\Component\Process\Process; |
|
| 18 | 15 | |
| 19 | 16 | /** |
| 20 | 17 | * Spec file of ToolUnavailable exception class. |
@@ -12,9 +12,6 @@ |
||
| 12 | 12 | namespace spec\LIN3S\CS\Git; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Prophecy\Argument; |
|
| 16 | -use Symfony\Component\Process\Exception\ProcessFailedException; |
|
| 17 | -use Symfony\Component\Process\Process; |
|
| 18 | 15 | |
| 19 | 16 | /** |
| 20 | 17 | * Spec file of Git class. |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use LIN3S\CS\Checker\Composer; |
| 15 | 15 | use LIN3S\CS\Checker\EsLint; |
| 16 | 16 | use LIN3S\CS\Checker\PhpCsFixer; |
| 17 | -use LIN3S\CS\Checker\PhpFormatter; |
|
| 18 | 17 | use LIN3S\CS\Checker\Phpmd; |
| 19 | 18 | use LIN3S\CS\Checker\ScssLint; |
| 20 | 19 | use LIN3S\CS\Exception\CheckFailException; |
@@ -100,6 +100,7 @@ |
||
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | 102 | * {@inheritdoc} |
| 103 | + * @param string $tool |
|
| 103 | 104 | */ |
| 104 | 105 | protected static function isAvailable($tool) |
| 105 | 106 | { |
@@ -100,6 +100,7 @@ |
||
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | 102 | * {@inheritdoc} |
| 103 | + * @param string $tool |
|
| 103 | 104 | */ |
| 104 | 105 | protected static function isAvailable($tool) |
| 105 | 106 | { |