Completed
Push — develop ( 4cea88...99fd65 )
by Javier
03:46
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/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/XgcCarbonBundle.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/Type/CarbonType.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\Form\Type;
5 5
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         $builder
135 135
             ->addViewTransformer(new DataTransformerChain([
136 136
                 new CarbonToArrayTransformer($options['model_timezone'], $options['view_timezone'], $this->parts),
137
-                new ArrayToPartsTransformer(['date' => $this->dateParts, 'time' => $this->timeParts,]),
137
+                new ArrayToPartsTransformer(['date' => $this->dateParts, 'time' => $this->timeParts, ]),
138 138
             ]))
139 139
             ->add('date', DateType::class, $dateOptions)
140 140
             ->add('time', TimeType::class, $timeOptions);
Please login to merge, or discard this patch.
src/DependencyInjection/XgcCarbonExtension.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\DependencyInjection;
5 5
 
Please login to merge, or discard this patch.