Completed
Push — develop ( b455ea...7c97dc )
by Javier
04:09
created
src/Form/DataTransformer/CarbonToDateTimeTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle\Form\DataTransformer;
5 5
 
Please login to merge, or discard this patch.
src/Test/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle\Test;
5 5
 
Please login to merge, or discard this patch.
src/CarbonBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle;
5 5
 
Please login to merge, or discard this patch.
src/Form/DataTransformer/CarbonToArrayTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle\Form\DataTransformer;
5 5
 
Please login to merge, or discard this patch.
src/Doctrine/DBAL/Type/CarbonType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle\Doctrine\DBAL\Type;
5 5
 
Please login to merge, or discard this patch.
src/Request/ParamConverter/CarbonParamConverter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle\Request\ParamConverter;
5 5
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      *
106 106
      * @throws NotFoundHttpException
107 107
      */
108
-    private function getCarbon(?string $format, string $value, string $param): Carbon
108
+    private function getCarbon(?string $format, string $value, string $param) : Carbon
109 109
     {
110 110
         try {
111 111
             if ($format !== null) {
Please login to merge, or discard this patch.
src/Form/Type/CarbonType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Xgc\CarbonBundle\Form\Type;
5 5
 
@@ -67,14 +67,14 @@  discard block
 block discarded – undo
67 67
      */
68 68
     public function buildForm(FormBuilderInterface $builder, array $options): void
69 69
     {
70
-        $parts     = ['year', 'month', 'day', 'hour'];
70
+        $parts = ['year', 'month', 'day', 'hour'];
71 71
 
72 72
         if ($options['with_minutes']) {
73
-            $parts[]     = 'minute';
73
+            $parts[] = 'minute';
74 74
         }
75 75
 
76 76
         if ($options['with_seconds']) {
77
-            $parts[]     = 'second';
77
+            $parts[] = 'second';
78 78
         }
79 79
 
80 80
         $dateFormat = is_int($options['date_format']) ? $options['date_format'] : self::DEFAULT_DATE_FORMAT;
Please login to merge, or discard this patch.