Completed
Push — product/missing-methods ( 0cfbf7 )
by Kamil
25:41
created
Context/Environment/Handler/ContextServiceEnvironmentHandler.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 use Behat\Testwork\Environment\Handler\EnvironmentHandler;
19 19
 use Behat\Testwork\Suite\Exception\SuiteConfigurationException;
20 20
 use Behat\Testwork\Suite\Suite;
21
-use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment;
22 21
 use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry;
22
+use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\UninitializedContextServiceEnvironment;
23 23
 use Symfony\Component\DependencyInjection\ContainerInterface;
24 24
 
25 25
 /**
Please login to merge, or discard this patch.
Context/Environment/UninitializedContextServiceEnvironment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @return array[]
80
+     * @return integer[]
81 81
      */
82 82
     public function getContextsServicesIds()
83 83
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Extension/MultiContainerExtension/Loader/XmlFileLoader.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -415,9 +415,9 @@
 block discarded – undo
415 415
      * Get child elements by name.
416 416
      *
417 417
      * @param \DOMNode $node
418
-     * @param mixed    $name
418
+     * @param string    $name
419 419
      *
420
-     * @return array
420
+     * @return string
421 421
      */
422 422
     private function getChildren(\DOMNode $node, $name)
423 423
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@
 block discarded – undo
15 15
 use Symfony\Component\Config\FileLocatorInterface;
16 16
 use Symfony\Component\Config\Resource\FileResource;
17 17
 use Symfony\Component\Config\Util\XmlUtils;
18
+use Symfony\Component\DependencyInjection\Alias;
18 19
 use Symfony\Component\DependencyInjection\ContainerBuilder;
19
-use Symfony\Component\DependencyInjection\DefinitionDecorator;
20 20
 use Symfony\Component\DependencyInjection\ContainerInterface;
21
-use Symfony\Component\DependencyInjection\Alias;
22 21
 use Symfony\Component\DependencyInjection\Definition;
23
-use Symfony\Component\DependencyInjection\Loader\FileLoader;
24
-use Symfony\Component\DependencyInjection\Reference;
22
+use Symfony\Component\DependencyInjection\DefinitionDecorator;
25 23
 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException;
26 24
 use Symfony\Component\DependencyInjection\Exception\RuntimeException;
25
+use Symfony\Component\DependencyInjection\Loader\FileLoader;
26
+use Symfony\Component\DependencyInjection\Reference;
27 27
 use Symfony\Component\ExpressionLanguage\Expression;
28 28
 
29 29
 /**
Please login to merge, or discard this patch.
MultiContainerExtension/ServiceContainer/MultiContainerExtension.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Behat\Testwork\ServiceContainer\Extension;
17 17
 use Behat\Testwork\ServiceContainer\ExtensionManager;
18 18
 use Sylius\Behat\Extension\MultiContainerExtension\ContainerConfiguration;
19
-use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler;
20 19
 use Sylius\Behat\Extension\MultiContainerExtension\ContextRegistry;
20
+use Sylius\Behat\Extension\MultiContainerExtension\Context\Environment\Handler\ContextServiceEnvironmentHandler;
21 21
 use Sylius\Behat\Extension\MultiContainerExtension\Loader\XmlFileLoader;
22 22
 use Sylius\Behat\Extension\MultiContainerExtension\ScopeManipulator;
23 23
 use Symfony\Bridge\ProxyManager\LazyProxy\Instantiator\RuntimeInstantiator;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/UpdatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -18,7 +18,14 @@  discard block
 block discarded – undo
18 18
  */
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
25
+
26
+    /**
27
+     * @return void
28
+     */
22 29
     public function disable();
23 30
 
24 31
     /**
@@ -44,28 +51,36 @@  discard block
 block discarded – undo
44 51
      * @param string $name
45 52
      * @param string $code
46 53
      * @param string|null $abbreviation
54
+     * @return void
47 55
      */
48 56
     public function addProvince($name, $code, $abbreviation = null);
49 57
 
50 58
     /**
51 59
      * @param string $provinceName
60
+     * @return void
52 61
      */
53 62
     public function removeProvince($provinceName);
54 63
 
64
+    /**
65
+     * @return void
66
+     */
55 67
     public function clickAddProvinceButton();
56 68
 
57 69
     /**
58 70
      * @param string $provinceName
71
+     * @return void
59 72
      */
60 73
     public function nameProvince($provinceName);
61 74
 
62 75
     /**
63 76
      * @param string $provinceName
77
+     * @return void
64 78
      */
65 79
     public function removeProvinceName($provinceName);
66 80
 
67 81
     /**
68 82
      * @param string $provinceCode
83
+     * @return void
69 84
      */
70 85
     public function specifyProvinceCode($provinceCode);
71 86
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Currency/UpdatePageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -18,11 +18,19 @@
 block discarded – undo
18 18
  */
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
25
+
26
+    /**
27
+     * @return void
28
+     */
22 29
     public function disable();
23 30
 
24 31
     /**
25 32
      * @param string $exchangeRate
33
+     * @return void
26 34
      */
27 35
     public function changeExchangeRate($exchangeRate);
28 36
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Customer/ShowPage.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\Behat\Page\Admin\Customer;
13 13
 
14 14
 use Sylius\Behat\Page\SymfonyPage;
15
-use Webmozart\Assert\Assert;
16 15
 
17 16
 /**
18 17
  * @author Magdalena Banasiak <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Locale/UpdatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -18,6 +18,13 @@
 block discarded – undo
18 18
  */
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
25
+
26
+    /**
27
+     * @return void
28
+     */
22 29
     public function disable();
23 30
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/ShowPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param string $customerName
25
+     * @return boolean
25 26
      */
26 27
     public function hasCustomer($customerName);
27 28
 
@@ -56,6 +57,7 @@  discard block
 block discarded – undo
56 57
 
57 58
     /**
58 59
      * @param string $code
60
+     * @return void
59 61
      */
60 62
     public function specifyTrackingCode($code);
61 63
 
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
 
69 71
     /**
70 72
      * @param OrderInterface $order
73
+     * @return void
71 74
      */
72 75
     public function shipOrder(OrderInterface $order);
73 76
 
@@ -87,6 +90,7 @@  discard block
 block discarded – undo
87 90
 
88 91
     /**
89 92
      * @param OrderInterface $order
93
+     * @return void
90 94
      */
91 95
     public function completeOrderLastPayment(OrderInterface $order);
92 96
 
@@ -207,7 +211,13 @@  discard block
 block discarded – undo
207 211
      */
208 212
     public function getOrderState();
209 213
 
214
+    /**
215
+     * @return void
216
+     */
210 217
     public function cancelOrder();
211 218
 
219
+    /**
220
+     * @return void
221
+     */
212 222
     public function deleteOrder();
213 223
 }
Please login to merge, or discard this patch.