@@ -16,19 +16,11 @@ |
||
| 16 | 16 | |
| 17 | 17 | namespace PartFire\MangoPayBundle\Command; |
| 18 | 18 | |
| 19 | -use Fruitful\IdentityCheckBundle\Entity\IdentityCheck; |
|
| 20 | -use Fruitful\IdentityCheckBundle\Entity\Repository\IdentityCheckFactoryRepository; |
|
| 21 | -use Fruitful\IdentityCheckBundle\Event\IdentityCheckUpdateEvent; |
|
| 22 | 19 | use PartFire\CommonBundle\Services\Output\Cli\ConsoleOutput; |
| 23 | 20 | use PartFire\MangoPayBundle\Services\Hook; |
| 24 | 21 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
| 25 | -use Symfony\Component\Console\Input\InputArgument; |
|
| 26 | -use Symfony\Component\Console\Input\InputDefinition; |
|
| 27 | 22 | use Symfony\Component\Console\Input\InputInterface; |
| 28 | -use Symfony\Component\Console\Input\InputOption; |
|
| 29 | 23 | use Symfony\Component\Console\Output\OutputInterface; |
| 30 | -use Symfony\Component\EventDispatcher\EventDispatcher; |
|
| 31 | -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
| 32 | 24 | |
| 33 | 25 | class HookListCommand extends ContainerAwareCommand |
| 34 | 26 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | $responses = []; |
| 55 | 55 | |
| 56 | 56 | $hookItems = $this->getHookService()->list(); |
| 57 | - foreach($hookItems as $hook) { |
|
| 57 | + foreach ($hookItems as $hook) { |
|
| 58 | 58 | $hookId = $hook->Id; |
| 59 | 59 | $this->output->infoid("Updating Hook ID " . $hookId . " with " . $url); |
| 60 | 60 | $responses[] = $this->getHookService()->update($hookId, $url); |
@@ -40,8 +40,8 @@ |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @return mixed |
|
| 44 | - */ |
|
| 43 | + * @return mixed |
|
| 44 | + */ |
|
| 45 | 45 | public function getFirstName() |
| 46 | 46 | { |
| 47 | 47 | return $this->firstName; |
@@ -54,10 +54,10 @@ discard block |
||
| 54 | 54 | return $this->payInTranslator->translateMangoPayDirectPayInToDto($createdPayIn); |
| 55 | 55 | } |
| 56 | 56 | $this->logger->addCritical( |
| 57 | - "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 57 | + "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 58 | 58 | ); |
| 59 | 59 | throw new PartFireException( |
| 60 | - "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 60 | + "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 61 | 61 | ); |
| 62 | 62 | } |
| 63 | 63 | $this->logger->addCritical("Failed to create PayIn"); |
@@ -83,10 +83,10 @@ discard block |
||
| 83 | 83 | return $this->payInTranslator->translateMangoPayBankwireDirectPayInToDto($createdPayIn); |
| 84 | 84 | } |
| 85 | 85 | $this->logger->addCritical( |
| 86 | - "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 86 | + "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 87 | 87 | ); |
| 88 | 88 | throw new PartFireException( |
| 89 | - "Pay-In has been created with status: ".$createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 89 | + "Pay-In has been created with status: " . $createdPayIn->Status . ' (result code: ' . $createdPayIn->ResultCode . ')' |
|
| 90 | 90 | ); |
| 91 | 91 | } |
| 92 | 92 | $this->logger->addCritical("Failed to create PayIn"); |