Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
src/Sylius/Bundle/UserBundle/Form/Type/UserType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\UserBundle\Form\Type;
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
15
-use Sylius\Component\Resource\Metadata\MetadataInterface;
16 15
 use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
17 16
 use Symfony\Component\Form\Extension\Core\Type\EmailType;
18 17
 use Symfony\Component\Form\Extension\Core\Type\PasswordType;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CustomerBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +4 added lines, -7 removed lines patch added patch discarded remove patch
@@ -12,17 +12,14 @@
 block discarded – undo
12 12
 namespace Sylius\Bundle\CustomerBundle\DependencyInjection;
13 13
 
14 14
 use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType;
15
+use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType;
15 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
16
-use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType;
17 17
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
18
-use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType;
19
-use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType;
20
-use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType;
21
-use Sylius\Component\Customer\Model\CustomerGroup;
22
-use Sylius\Component\Resource\Factory\Factory;
23 18
 use Sylius\Component\Customer\Model\Customer;
24
-use Sylius\Component\Customer\Model\CustomerInterface;
19
+use Sylius\Component\Customer\Model\CustomerGroup;
25 20
 use Sylius\Component\Customer\Model\CustomerGroupInterface;
21
+use Sylius\Component\Customer\Model\CustomerInterface;
22
+use Sylius\Component\Resource\Factory\Factory;
26 23
 use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
27 24
 use Symfony\Component\Config\Definition\Builder\TreeBuilder;
28 25
 use Symfony\Component\Config\Definition\ConfigurationInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/CreatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -55,11 +55,13 @@  discard block
 block discarded – undo
55 55
 
56 56
     /**
57 57
      * @param ProductVariantImageInterface $image
58
+     * @return void
58 59
      */
59 60
     public function addImage(ProductVariantImageInterface $image);
60 61
 
61 62
     /**
62 63
      * @param ProductVariantImageInterface $image
64
+     * @return void
63 65
      */
64 66
     public function removeImage(ProductVariantImageInterface $image);
65 67
 
@@ -70,6 +72,7 @@  discard block
 block discarded – undo
70 72
 
71 73
     /**
72 74
      * @param int $sold
75
+     * @return void
73 76
      */
74 77
     public function setSold($sold);
75 78
 
@@ -80,6 +83,7 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param float $weight
86
+     * @return void
83 87
      */
84 88
     public function setWeight($weight);
85 89
 
@@ -90,6 +94,7 @@  discard block
 block discarded – undo
90 94
 
91 95
     /**
92 96
      * @param float $width
97
+     * @return void
93 98
      */
94 99
     public function setWidth($width);
95 100
 
@@ -100,6 +105,7 @@  discard block
 block discarded – undo
100 105
 
101 106
     /**
102 107
      * @param float $height
108
+     * @return void
103 109
      */
104 110
     public function setHeight($height);
105 111
 
@@ -110,6 +116,7 @@  discard block
 block discarded – undo
110 116
 
111 117
     /**
112 118
      * @param float $depth
119
+     * @return void
113 120
      */
114 121
     public function setDepth($depth);
115 122
 
@@ -120,6 +127,7 @@  discard block
 block discarded – undo
120 127
 
121 128
     /**
122 129
      * @param int|null $originalPrice
130
+     * @return void
123 131
      */
124 132
     public function setOriginalPrice($originalPrice);
125 133
 
@@ -130,6 +138,7 @@  discard block
 block discarded – undo
130 138
 
131 139
     /**
132 140
      * @param TaxCategoryInterface $category
141
+     * @return void
133 142
      */
134 143
     public function setTaxCategory(TaxCategoryInterface $category = null);
135 144
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/AttributeBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -11,12 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\AttributeBundle\DependencyInjection;
13 13
 
14
-use Sylius\Bundle\AttributeBundle\Controller\ProductAttributeController;
15
-use Sylius\Bundle\AttributeBundle\Form\Type\AttributeTranslationType;
16
-use Sylius\Bundle\AttributeBundle\Form\Type\AttributeType;
17
-use Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType;
18 14
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
19
-use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType;
20 15
 use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
21 16
 use Sylius\Component\Attribute\Model\Attribute;
22 17
 use Sylius\Component\Attribute\Model\AttributeInterface;
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
      * Sets all option values.
40 40
      *
41 41
      * @param Collection $optionValues
42
+     * @return void
42 43
      */
43 44
     public function setValues(Collection $optionValues);
44 45
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
      * Adds option value.
47 48
      *
48 49
      * @param OptionValueInterface $optionValue
50
+     * @return void
49 51
      */
50 52
     public function addValue(OptionValueInterface $optionValue);
51 53
 
@@ -53,6 +55,7 @@  discard block
 block discarded – undo
53 55
      * Removes option value.
54 56
      *
55 57
      * @param OptionValueInterface $optionValue
58
+     * @return void
56 59
      */
57 60
     public function removeValue(OptionValueInterface $optionValue);
58 61
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/GridBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/DependencyInjection/Driver/AbstractDriver.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Sylius\Component\Resource\Metadata\MetadataInterface;
18 18
 use Symfony\Component\DependencyInjection\ContainerBuilder;
19 19
 use Symfony\Component\DependencyInjection\Definition;
20
-use Symfony\Component\DependencyInjection\Parameter;
21 20
 use Symfony\Component\DependencyInjection\Reference;
22 21
 
23 22
 /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/PaymentBundle/Form/Type/CreditCardType.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -30,26 +30,26 @@
 block discarded – undo
30 30
             ->add('type', ChoiceType::class, [
31 31
                 'label' => 'sylius.form.credit_card.type',
32 32
                 'expanded' => true,
33
-              ])
34
-              ->add('cardholderName', TextType::class, [
33
+                ])
34
+                ->add('cardholderName', TextType::class, [
35 35
                 'label' => 'sylius.form.credit_card.cardholder_name',
36
-              ])
37
-              ->add('number', TextType::class, [
38
-                  'label' => 'sylius.form.credit_card.number',
39
-              ])
40
-              ->add('securityCode', TextType::class, [
41
-                  'label' => 'sylius.form.credit_card.security_code',
42
-              ])
43
-              ->add('expiryMonth', ChoiceType::class, [
44
-                  'choices' => $this->getMonthChoices(),
45
-                  'choice_translation_domain' => false,
46
-                  'label' => 'sylius.form.credit_card.expiry_month',
47
-              ])
48
-              ->add('expiryYear', ChoiceType::class, [
49
-                  'choices' => $this->getViableYears(),
50
-                  'choice_translation_domain' => false,
51
-                  'label' => 'sylius.form.credit_card.expiry_year',
52
-              ])
36
+                ])
37
+                ->add('number', TextType::class, [
38
+                    'label' => 'sylius.form.credit_card.number',
39
+                ])
40
+                ->add('securityCode', TextType::class, [
41
+                    'label' => 'sylius.form.credit_card.security_code',
42
+                ])
43
+                ->add('expiryMonth', ChoiceType::class, [
44
+                    'choices' => $this->getMonthChoices(),
45
+                    'choice_translation_domain' => false,
46
+                    'label' => 'sylius.form.credit_card.expiry_month',
47
+                ])
48
+                ->add('expiryYear', ChoiceType::class, [
49
+                    'choices' => $this->getViableYears(),
50
+                    'choice_translation_domain' => false,
51
+                    'label' => 'sylius.form.credit_card.expiry_year',
52
+                ])
53 53
         ;
54 54
     }
55 55
 
Please login to merge, or discard this patch.