Completed
Push — sonata-block-4 ( 430eec )
by Kamil
36:09 queued 10:06
created
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.
src/Sylius/Behat/Page/Shop/Product/ShowPage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 
140 140
     public function hasAssociation(string $productAssociationName): bool
141 141
     {
142
-        try{
142
+        try {
143 143
             $this->getElement('association', ['%associationName%' => $productAssociationName]);
144 144
         } catch (ElementNotFoundException $e) {
145 145
             return false;
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
 
171 171
     public function hasReviewTitled(string $title): bool
172 172
     {
173
-        try{
173
+        try {
174 174
             $element = $this->getElement('reviews_comment', ['%title%' => $title]);
175 175
         } catch (ElementNotFoundException $e) {
176 176
             return false;
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
     public function isMainImageDisplayed(): bool
188 188
     {
189
-        if ( !$this->hasElement('main_image')) {
189
+        if (!$this->hasElement('main_image')) {
190 190
             return false;
191 191
         }
192 192
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/IndexPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 
65 65
     public function isProductOnList(string $productName): bool
66 66
     {
67
-        try{
67
+        try {
68 68
             $this->getElement('product_name', ['%productName%' => $productName]);
69 69
         } catch (ElementNotFoundException $e) {
70 70
             return false;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/ShowAvailablePluginsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,6 @@
 block discarded – undo
63 63
         $this->plugins->add(new PluginInfo('<info>Customer Reorder</info>', 'Convenient reordering for the customers from the `My account` section.', 'https://github.com/Sylius/CustomerReorderPlugin'));
64 64
         $this->plugins->add(new PluginInfo('<info>Invoicing</info>', 'Automatised, basic invoicing system for orders.', 'https://github.com/Sylius/InvoicingPlugin'));
65 65
         $this->plugins->add(new PluginInfo('<info>Refund</info>', 'Full and partial refunds of items and/or shipping costs including Credit Memos.', 'https://github.com/Sylius/RefundPlugin'));
66
-        $this->plugins->add(new PluginInfo('<info>CMS</info>', 'This plugin allows you to add dynamic blocks with images, text or HTML to your storefront as well as pages and FAQs section.','https://github.com/BitBagCommerce/SyliusCmsPlugin' ));
66
+        $this->plugins->add(new PluginInfo('<info>CMS</info>', 'This plugin allows you to add dynamic blocks with images, text or HTML to your storefront as well as pages and FAQs section.', 'https://github.com/BitBagCommerce/SyliusCmsPlugin'));
67 67
     }
68 68
 }
Please login to merge, or discard this patch.