Completed
Push — master ( 99b9b3...0bcb3b )
by Kamil
18:37
created
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.
ResourceBundle/test/src/AppBundle/DependencyInjection/AppExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Cli/InstallerContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     {
167 167
         $this->questionHelper = $this->command->getHelper('question');
168 168
         $inputString = implode(PHP_EOL, $this->inputChoices);
169
-        $this->questionHelper->setInputStream($this->getInputStream($inputString.PHP_EOL));
169
+        $this->questionHelper->setInputStream($this->getInputStream($inputString . PHP_EOL));
170 170
 
171 171
         $this->tester->execute(['command' => $name]);
172 172
     }
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     private function iExecuteCommandAndConfirm($name)
178 178
     {
179 179
         $this->questionHelper = $this->command->getHelper('question');
180
-        $inputString = 'y'.PHP_EOL;
180
+        $inputString = 'y' . PHP_EOL;
181 181
         $this->questionHelper->setInputStream($this->getInputStream($inputString));
182 182
 
183 183
         $this->tester->execute(['command' => $name]);
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OptionInterface $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(OptionInterface $option = null);
32 33
 
@@ -41,6 +42,7 @@  discard block
 block discarded – undo
41 42
      * Set internal value.
42 43
      *
43 44
      * @param string $value
45
+     * @return void
44 46
      */
45 47
     public function setValue($value);
46 48
 
Please login to merge, or discard this patch.