@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Swm\Bundle\MailHookBundle\ApiService\ApiServiceInterface; |
6 | 6 | use Symfony\Component\DependencyInjection\Exception\LogicException; |
7 | -use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; |
|
8 | 7 | |
9 | 8 | class ApiServiceProvider implements ProviderInterface |
10 | 9 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Swm\Bundle\MailHookBundle\Service; |
4 | 4 | |
5 | -use Swm\Bundle\MailHookBundle\ApiService\ApiServiceInterface; |
|
6 | -use Swm\Bundle\MailHookBundle\Model as ApiServiceModel; |
|
7 | 5 | use Swm\Bundle\MailHookBundle\Provider\ProviderInterface; |
8 | 6 | use Symfony\Component\HttpFoundation\Request; |
9 | 7 |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * @param UserInterface $user |
28 | 28 | * @param array $metaData |
29 | 29 | */ |
30 | - public function __construct(UserInterface $user = null, $name = null, array $metaData = array()) |
|
30 | + public function __construct(UserInterface $user = null, $name = null, array $metaData = array()) |
|
31 | 31 | { |
32 | 32 | $this->name = $name; |
33 | 33 | $this->user = $user; |
@@ -3,4 +3,4 @@ |
||
3 | 3 | $runner->addTestsFromDirectory(__DIR__.'/tests/units'); |
4 | 4 | |
5 | 5 | $script->noCodeCoverageForNamespaces('mageekguy', 'Symfony'); |
6 | -$script->bootstrapFile(__DIR__.DIRECTORY_SEPARATOR . 'tests' . DIRECTORY_SEPARATOR . 'bootstrap.php'); |
|
7 | 6 | \ No newline at end of file |
7 | +$script->bootstrapFile(__DIR__.DIRECTORY_SEPARATOR.'tests'.DIRECTORY_SEPARATOR.'bootstrap.php'); |
|
8 | 8 | \ No newline at end of file |