Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
created
src/Sylius/Behat/Page/Shop/Checkout/ShippingStepInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,8 +20,12 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
27
+    /**
28
+     * @return void
29
+     */
26 30
     public function continueCheckout();
27 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/SymfonyPage.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Behat\Mink\Element\NodeElement;
15 15
 use Behat\Mink\Session;
16
-use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
17
-use Symfony\Component\Routing\RequestContext;
18 16
 use Symfony\Component\Routing\RouterInterface;
19 17
 
20 18
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
      */
76 76
     final protected function makePathAbsolute($path)
77 77
     {
78
-        $baseUrl = rtrim($this->getParameter('base_url'), '/').'/';
78
+        $baseUrl = rtrim($this->getParameter('base_url'), '/') . '/';
79 79
 
80
-        return 0 !== strpos($path, 'http') ? $baseUrl.ltrim($path, '/') : $path;
80
+        return 0 !== strpos($path, 'http') ? $baseUrl . ltrim($path, '/') : $path;
81 81
     }
82 82
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Accessor/TableAccessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @param array $columns
95
-     * @param array $fields
94
+     * @param NodeElement[] $columns
95
+     * @param string[] $fields
96 96
      *
97 97
      * @return bool
98 98
      */
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Mocker/PaypalApiMocker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     /**
104 104
      * @param int $statusCode
105
-     * @param mixed $streamMock
105
+     * @param Mock $streamMock
106 106
      *
107 107
      * @return Mock
108 108
      */
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/ResponseLoader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param string $source
88
-     * @param mixed $content
88
+     * @param string $content
89 89
      *
90 90
      * @throws \RuntimeException
91 91
      */
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @param string $source
101
-     * @param mixed $content
101
+     * @param string $content
102 102
      *
103 103
      * @throws \RuntimeException
104 104
      */
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/SecurityServiceInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -22,14 +22,19 @@
 block discarded – undo
22 22
      * @param string $email
23 23
      *
24 24
      * @throws \InvalidArgumentException
25
+     * @return void
25 26
      */
26 27
     public function logIn($email);
27 28
     
29
+    /**
30
+     * @return void
31
+     */
28 32
     public function logOut();
29 33
 
30 34
     /**
31 35
      * @param UserInterface $user
32 36
      * @param callable $action
37
+     * @return void
33 38
      */
34 39
     public function performActionAs(UserInterface $user, callable $action);
35 40
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/DependencyInjection/Configuration.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
 use Sylius\Bundle\AddressingBundle\Form\Type\ZoneType;
23 23
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
24 24
 use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType;
25
-use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
26 25
 use Sylius\Bundle\ResourceBundle\Form\Type\ResourceFromIdentifierType;
26
+use Sylius\Bundle\ResourceBundle\SyliusResourceBundle;
27 27
 use Sylius\Component\Addressing\Model\Address;
28 28
 use Sylius\Component\Addressing\Model\AddressInterface;
29 29
 use Sylius\Component\Addressing\Model\Country;
Please login to merge, or discard this patch.
Bundle/ArchetypeBundle/DependencyInjection/SyliusArchetypeExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
     /**
120 120
      * @param array $config
121 121
      *
122
-     * @return array
122
+     * @return ContainerBuilder
123 123
      */
124 124
     private function defineDefaultOrmRepository(array $config)
125 125
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public function load(array $config, ContainerBuilder $container)
35 35
     {
36 36
         $config = $this->processConfiguration($this->getConfiguration($config, $container), $config);
37
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
37
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
38 38
 
39 39
         if (SyliusResourceBundle::DRIVER_DOCTRINE_ORM === $config['driver']) {
40 40
             $config = $this->defineDefaultOrmRepository($config);
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
                     continue;
49 49
                 }
50 50
 
51
-                $formDefinition = $container->getDefinition('sylius.form.type.'.$subjectName.'_'.$resourceName);
51
+                $formDefinition = $container->getDefinition('sylius.form.type.' . $subjectName . '_' . $resourceName);
52 52
                 $formDefinition->addArgument($subjectName);
53 53
 
54 54
                 if (isset($resourceConfig['translation'])) {
55
-                    $formTranslationDefinition = $container->getDefinition('sylius.form.type.'.$subjectName.'_'.$resourceName.'_translation');
55
+                    $formTranslationDefinition = $container->getDefinition('sylius.form.type.' . $subjectName . '_' . $resourceName . '_translation');
56 56
                     $formTranslationDefinition->addArgument($subjectName);
57 57
                 }
58 58
             }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
             foreach ($subjectConfig as $resourceName => $resourceConfig) {
94 94
                 if (is_array($resourceConfig)) {
95
-                    $resolvedResources[$subjectName.'_'.$resourceName] = $resourceConfig;
95
+                    $resolvedResources[$subjectName . '_' . $resourceName] = $resourceConfig;
96 96
                 }
97 97
             }
98 98
         }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             ->setArguments([new Reference(sprintf('sylius.factory.%s_attribute_value', $subjectName))])
114 114
         ;
115 115
 
116
-        $container->setDefinition('sylius.builder.'.$subjectName.'_archetype', $builderDefinition);
116
+        $container->setDefinition('sylius.builder.' . $subjectName . '_archetype', $builderDefinition);
117 117
     }
118 118
 
119 119
     /**
Please login to merge, or discard this patch.
src/Sylius/Bundle/CartBundle/Controller/CartItemController.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,6 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Redirect to specific URL or to cart.
85 85
      *
86
-     * @param Request $request
87 86
      *
88 87
      * @return RedirectResponse
89 88
      */
@@ -105,7 +104,6 @@  discard block
 block discarded – undo
105 104
      * If the item is found and the current user cart contains that item,
106 105
      * it will be removed and the cart - refreshed and saved.
107 106
      *
108
-     * @param mixed $id
109 107
      *
110 108
      * @return Response
111 109
      */
Please login to merge, or discard this patch.