Passed
Branch master (aeb839)
by Rafał
09:35
created
src/PH/Bundle/CoreBundle/Controller/PaymentMethodController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Controller;
6 6
 
Please login to merge, or discard this patch.
src/PH/Bundle/CoreBundle/Doctrine/ORM/SubscriptionRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Doctrine\ORM;
6 6
 
Please login to merge, or discard this patch.
src/PH/Bundle/CoreBundle/Doctrine/ORM/PaymentRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Doctrine\ORM;
6 6
 
Please login to merge, or discard this patch.
src/PH/Bundle/CoreBundle/Doctrine/ORM/PaymentMethodRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Doctrine\ORM;
6 6
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     protected function applyCriteria(QueryBuilder $queryBuilder, array $criteria = []): void
35 35
     {
36
-        $criteria = array_filter($criteria, function ($value) {
36
+        $criteria = array_filter($criteria, function($value) {
37 37
             return !is_null($value);
38 38
         });
39 39
 
Please login to merge, or discard this patch.
CoreBundle/Form/Extension/PaypalGatewayConfigurationExtensionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Form\Extension;
6 6
 
Please login to merge, or discard this patch.
src/PH/Bundle/CoreBundle/Form/Extension/SubscriptionTypeExtension.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Form\Extension;
6 6
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function buildForm(FormBuilderInterface $builder, array $options)
38 38
     {
39
-        $formModifier = function (FormInterface $form, string $type = null) {
39
+        $formModifier = function(FormInterface $form, string $type = null) {
40 40
             $methods = null === $type ? [] : $this->paymentMethodsProvider->getSupportedMethods($type);
41 41
 
42 42
             $form->add('method', PaymentMethodChoiceType::class, [
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 
48 48
         $builder->addEventListener(
49 49
             FormEvents::PRE_SET_DATA,
50
-            function (FormEvent $event) use ($formModifier) {
50
+            function(FormEvent $event) use ($formModifier) {
51 51
                 $data = $event->getData();
52 52
 
53 53
                 $formModifier($event->getForm(), $data->getType());
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
         $builder->get('type')->addEventListener(
58 58
             FormEvents::POST_SUBMIT,
59
-            function (FormEvent $event) use ($formModifier) {
59
+            function(FormEvent $event) use ($formModifier) {
60 60
                 $type = $event->getForm()->getData();
61 61
                 $formModifier($event->getForm()->getParent(), $type);
62 62
             }
Please login to merge, or discard this patch.
src/PH/Bundle/CoreBundle/Form/Extension/PaymentMethodTypeExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Form\Extension;
6 6
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
                 'data' => $gatewayFactory,
30 30
             ])
31 31
             ->add('supportsRecurring', CheckboxType::class)
32
-            ->addEventListener(FormEvents::SUBMIT, function (FormEvent $event) {
32
+            ->addEventListener(FormEvents::SUBMIT, function(FormEvent $event) {
33 33
                 $paymentMethod = $event->getData();
34 34
 
35 35
                 if (!$paymentMethod instanceof PaymentMethodInterface) {
Please login to merge, or discard this patch.
CoreBundle/Form/Extension/MollieGatewayConfigurationExtensionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Form\Extension;
6 6
 
Please login to merge, or discard this patch.
Bundle/CoreBundle/Form/Extension/AbstractGatewayConfigurationExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace PH\Bundle\CoreBundle\Form\Extension;
6 6
 
Please login to merge, or discard this patch.