Completed
Push — new-template-events-architectu... ( 1edaa7...41a06d )
by Kamil
11:35 queued 06:01
created
src/Sylius/Component/Core/spec/Updater/UnpaidOrdersStateUpdaterSpec.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
         StateMachineInterface $secondOrderStateMachine
47 47
     ): void {
48 48
         $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([
49
-           $firstOrder,
50
-           $secondOrder,
49
+            $firstOrder,
50
+            $secondOrder,
51 51
         ]);
52 52
 
53 53
         $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine);
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,10 +105,10 @@
 block discarded – undo
105 105
         if (isset($sorting['price'])) {
106 106
             // Another hack, the subquery to get the first position variant
107 107
             $subQuery = $this->createQueryBuilder('m')
108
-                 ->select('min(v.position)')
109
-                 ->innerJoin('m.variants', 'v')
110
-                 ->andWhere('m.id = :product_id')
111
-             ;
108
+                    ->select('min(v.position)')
109
+                    ->innerJoin('m.variants', 'v')
110
+                    ->andWhere('m.id = :product_id')
111
+                ;
112 112
 
113 113
             $queryBuilder
114 114
                 ->addSelect('variant')
Please login to merge, or discard this patch.
src/Sylius/Bundle/InventoryBundle/Twig/InventoryExtension.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     public function getFunctions(): array
34 34
     {
35 35
         return [
36
-             new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
37
-             new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
36
+                new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']),
37
+                new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']),
38 38
         ];
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Tests/Form/Type/ZoneChoiceTypeTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      */
108 108
     public function it_returns_tax_scopes_when_zone_scope_set_to_tax()
109 109
     {
110
-        $this->zoneRepository->findBy([ 'scope' => ['tax', AddressingScope::ALL]])->willReturn([
110
+        $this->zoneRepository->findBy(['scope' => ['tax', AddressingScope::ALL]])->willReturn([
111 111
             $this->zoneAllScopes->reveal(),
112 112
             $this->zoneTaxScope->reveal(),
113 113
         ]);
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      */
121 121
     public function it_returns_shipping_scopes_when_zone_scope_set_to_shipping()
122 122
     {
123
-        $this->zoneRepository->findBy([ 'scope' => ['shipping', AddressingScope::ALL]])->willReturn([
123
+        $this->zoneRepository->findBy(['scope' => ['shipping', AddressingScope::ALL]])->willReturn([
124 124
             $this->zoneAllScopes->reveal(),
125 125
             $this->zoneShippingScope->reveal(),
126 126
         ]);
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/IndexPageInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     public function isEmpty(): bool;
35 35
 
36
-    public function getProductPrice(string $productName): string ;
36
+    public function getProductPrice(string $productName): string;
37 37
 
38 38
     public function isProductOnPageWithName(string $name): bool;
39 39
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/AddressPageInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
 
43 43
     public function specifyPassword(string $password): void;
44 44
 
45
-    public function getItemSubtotal(string $itemName):string ;
45
+    public function getItemSubtotal(string $itemName):string;
46 46
 
47
-    public function getShippingAddressCountry(): string ;
47
+    public function getShippingAddressCountry(): string;
48 48
 
49 49
     public function nextStep(): void;
50 50
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/OptionsResolver/LazyOption.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 
103 103
     public static function findBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure
104 104
     {
105
-        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria): ?iterable {
105
+        return function (Options $options, ?array $previousValues) use ($repository, $field, $criteria) : ?iterable {
106 106
             if (null === $previousValues || [] === $previousValues) {
107 107
                 return $previousValues;
108 108
             }
Please login to merge, or discard this patch.