From 4842ad84bff21437d6f9146e25221c9ca652fb49 Mon Sep 17 00:00:00 2001 From: Adam Paterson Date: Fri, 13 Nov 2015 14:59:06 +0000 Subject: [PATCH] Remove unused declarations * Remove declarations * Add newline character to `grumphp.yml` for better rendering on a terminal --- grumphp.yml | 2 +- src/GrumPHP/Console/Command/ConfigureCommand.php | 1 - src/GrumPHP/Runner/TaskRunner.php | 1 - src/GrumPHP/Task/AbstractExternalTask.php | 1 - src/GrumPHP/Task/Behat.php | 1 - src/GrumPHP/Task/Blacklist.php | 1 - src/GrumPHP/Task/Phpcs.php | 1 - src/GrumPHP/Task/Phpcsfixer.php | 1 - src/GrumPHP/Task/Phpspec.php | 1 - src/GrumPHP/Task/Phpunit.php | 1 - 10 files changed, 1 insertion(+), 10 deletions(-) diff --git a/grumphp.yml b/grumphp.yml index 0c6c5c873..3dbe66f4b 100644 --- a/grumphp.yml +++ b/grumphp.yml @@ -7,4 +7,4 @@ parameters: standard: PSR2 ignore_patterns: - "*Spec.php" - phpspec: ~ \ No newline at end of file + phpspec: ~ diff --git a/src/GrumPHP/Console/Command/ConfigureCommand.php b/src/GrumPHP/Console/Command/ConfigureCommand.php index c2db5bc07..1c0c29105 100644 --- a/src/GrumPHP/Console/Command/ConfigureCommand.php +++ b/src/GrumPHP/Console/Command/ConfigureCommand.php @@ -5,7 +5,6 @@ use Exception; use Gitonomy\Git\Repository; use GrumPHP\Configuration\GrumPHP; -use GrumPHP\Console\Application; use GrumPHP\Console\Helper\PathsHelper; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\QuestionHelper; diff --git a/src/GrumPHP/Runner/TaskRunner.php b/src/GrumPHP/Runner/TaskRunner.php index 255e7dc86..2ac66fd85 100644 --- a/src/GrumPHP/Runner/TaskRunner.php +++ b/src/GrumPHP/Runner/TaskRunner.php @@ -2,7 +2,6 @@ namespace GrumPHP\Runner; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Collection\TasksCollection; use GrumPHP\Event\RunnerEvent; use GrumPHP\Event\RunnerEvents; diff --git a/src/GrumPHP/Task/AbstractExternalTask.php b/src/GrumPHP/Task/AbstractExternalTask.php index 4106b4737..d9ead8ff1 100644 --- a/src/GrumPHP/Task/AbstractExternalTask.php +++ b/src/GrumPHP/Task/AbstractExternalTask.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use Composer\Config; use GrumPHP\Configuration\GrumPHP; use GrumPHP\Locator\LocatorInterface; use Symfony\Component\Process\ProcessBuilder; diff --git a/src/GrumPHP/Task/Behat.php b/src/GrumPHP/Task/Behat.php index 6e15c0014..ef1dfd885 100644 --- a/src/GrumPHP/Task/Behat.php +++ b/src/GrumPHP/Task/Behat.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Exception\RuntimeException; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\Context\GitPreCommitContext; diff --git a/src/GrumPHP/Task/Blacklist.php b/src/GrumPHP/Task/Blacklist.php index bce48447d..08abb552d 100644 --- a/src/GrumPHP/Task/Blacklist.php +++ b/src/GrumPHP/Task/Blacklist.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Exception\RuntimeException; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\Context\GitPreCommitContext; diff --git a/src/GrumPHP/Task/Phpcs.php b/src/GrumPHP/Task/Phpcs.php index 7b9beb020..a438984e9 100644 --- a/src/GrumPHP/Task/Phpcs.php +++ b/src/GrumPHP/Task/Phpcs.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Exception\RuntimeException; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\Context\GitPreCommitContext; diff --git a/src/GrumPHP/Task/Phpcsfixer.php b/src/GrumPHP/Task/Phpcsfixer.php index fe4978f4b..f545ef134 100644 --- a/src/GrumPHP/Task/Phpcsfixer.php +++ b/src/GrumPHP/Task/Phpcsfixer.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Exception\RuntimeException; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\Context\GitPreCommitContext; diff --git a/src/GrumPHP/Task/Phpspec.php b/src/GrumPHP/Task/Phpspec.php index 42a217f87..fc2ed3ccc 100644 --- a/src/GrumPHP/Task/Phpspec.php +++ b/src/GrumPHP/Task/Phpspec.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Exception\RuntimeException; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\Context\GitPreCommitContext; diff --git a/src/GrumPHP/Task/Phpunit.php b/src/GrumPHP/Task/Phpunit.php index 1b8faabed..5f9708385 100644 --- a/src/GrumPHP/Task/Phpunit.php +++ b/src/GrumPHP/Task/Phpunit.php @@ -2,7 +2,6 @@ namespace GrumPHP\Task; -use GrumPHP\Collection\FilesCollection; use GrumPHP\Exception\RuntimeException; use GrumPHP\Task\Context\ContextInterface; use GrumPHP\Task\Context\GitPreCommitContext;