Completed
Push — 1.10-phpspec-7.1 ( 59b820...0cdbea )
by Mateusz
01:01
created
Bundle/ApiBundle/spec/Validator/Constraints/ShopUserExistsValidatorSpec.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,8 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $this
42 42
             ->shouldThrow(\InvalidArgumentException::class)
43
-            ->during('validate', [new CompleteOrder(), new class() extends Constraint {
43
+            ->during('validate', [new CompleteOrder(), new class() extends Constraint
44
+            {
44 45
             }])
45 46
         ;
46 47
     }
@@ -49,7 +50,8 @@  discard block
 block discarded – undo
49 50
     {
50 51
         $this
51 52
             ->shouldThrow(\InvalidArgumentException::class)
52
-            ->during('validate', ['', new class() extends Constraint {
53
+            ->during('validate', ['', new class() extends Constraint
54
+            {
53 55
             }])
54 56
         ;
55 57
     }
Please login to merge, or discard this patch.
ApiBundle/spec/Validator/Constraints/ShopUserNotVerifiedValidatorSpec.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,8 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $this
42 42
             ->shouldThrow(\InvalidArgumentException::class)
43
-            ->during('validate', [new CompleteOrder(), new class() extends Constraint {
43
+            ->during('validate', [new CompleteOrder(), new class() extends Constraint
44
+            {
44 45
             }])
45 46
         ;
46 47
     }
@@ -49,7 +50,8 @@  discard block
 block discarded – undo
49 50
     {
50 51
         $this
51 52
             ->shouldThrow(\InvalidArgumentException::class)
52
-            ->during('validate', ['', new class() extends Constraint {
53
+            ->during('validate', ['', new class() extends Constraint
54
+            {
53 55
             }])
54 56
         ;
55 57
     }
Please login to merge, or discard this patch.
etc/psalm/LaminasPriorityQueueStub.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * with keys "data" and "priority".
52 52
      * @var array
53 53
      */
54
-    protected $items      = [];
54
+    protected $items = [];
55 55
 
56 56
     /**
57 57
      * Inner queue object
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             unset($this->items[$key]);
114 114
             $this->queue = null;
115 115
 
116
-            if (! $this->isEmpty()) {
116
+            if (!$this->isEmpty()) {
117 117
                 $queue = $this->getQueue();
118 118
                 foreach ($this->items as $item) {
119 119
                     $queue->insert($item['data'], $item['priority']);
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
     {
325 325
         if (null === $this->queue) {
326 326
             $this->queue = new $this->queueClass();
327
-            if (! $this->queue instanceof \SplPriorityQueue) {
327
+            if (!$this->queue instanceof \SplPriorityQueue) {
328 328
                 throw new Exception\DomainException(sprintf(
329 329
                     'PriorityQueue expects an internal queue of type SplPriorityQueue; received "%s"',
330 330
                     get_class($this->queue)
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallSampleDataCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             ->setHelp(
32 32
                 <<<EOT
33 33
 The <info>%command.name%</info> command loads the sample data for Sylius.
34
-EOT
34
+eot
35 35
             )
36 36
             ->addOption('fixture-suite', 's', InputOption::VALUE_OPTIONAL, 'Load specified fixture suite during install', null)
37 37
         ;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallDatabaseCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             ->setHelp(
30 30
                 <<<EOT
31 31
 The <info>%command.name%</info> command creates Sylius database.
32
-EOT
32
+eot
33 33
             )
34 34
             ->addOption('fixture-suite', 's', InputOption::VALUE_OPTIONAL, 'Load specified fixture suite during install', null)
35 35
         ;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Command/InstallCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             ->setHelp(
55 55
                 <<<EOT
56 56
 The <info>%command.name%</info> command installs Sylius.
57
-EOT
57
+eot
58 58
             )
59 59
             ->addOption('fixture-suite', 's', InputOption::VALUE_OPTIONAL, 'Load specified fixture suite during install', null)
60 60
         ;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ApiBundle/test/src/Tests/PromotionTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
             '@type' => 'hydra:Collection',
42 42
             'hydra:member' => [
43 43
                 [
44
-                  '@type' => 'Promotion',
45
-                  'name' => 'Sunday promotion',
44
+                    '@type' => 'Promotion',
45
+                    'name' => 'Sunday promotion',
46 46
                 ],
47 47
             ],
48 48
             'hydra:totalItems' => 1,
Please login to merge, or discard this patch.
spec/Validator/Constraints/ChosenPaymentMethodEligibilityValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,8 @@
 block discarded – undo
54 54
     {
55 55
         $this
56 56
             ->shouldThrow(\InvalidArgumentException::class)
57
-            ->during('validate', [new ChoosePaymentMethod('code'), new class() extends Constraint {
57
+            ->during('validate', [new ChoosePaymentMethod('code'), new class() extends Constraint
58
+            {
58 59
             }])
59 60
         ;
60 61
     }
Please login to merge, or discard this patch.
ApiBundle/spec/Validator/Constraints/CorrectOrderAddressValidatorSpec.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,8 @@
 block discarded – undo
52 52
             ->shouldThrow(\InvalidArgumentException::class)
53 53
             ->during('validate', [
54 54
                 new AddressOrder('[email protected]', $billingAddress->getWrappedObject(), $shippingAddress->getWrappedObject()),
55
-                new class() extends Constraint {
55
+                new class() extends Constraint
56
+                {
56 57
                 }
57 58
             ])
58 59
         ;
Please login to merge, or discard this patch.