Passed
Push — develop ( 2f9a76...0ee384 )
by Andrey
17:45 queued 07:47
created
DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\DependencyInjection;
6 6
 
Please login to merge, or discard this patch.
ZippyBusProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle;
6 6
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
             $routes[] = $this->factory->createRoute($routeArray, $date);
64 64
         }
65 65
 
66
-        usort($routes, function (Route $routeA, Route $routeB) {
66
+        usort($routes, function(Route $routeA, Route $routeB) {
67 67
             return strnatcmp($routeA->getName(), $routeB->getName());
68 68
         });
69 69
 
Please login to merge, or discard this patch.
Exception/HttpBadRequestException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\Exception;
6 6
 
Please login to merge, or discard this patch.
Tests/Schedule/TimeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\Tests\Schedule;
6 6
 
Please login to merge, or discard this patch.
Tests/ZippyBusProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\Tests;
6 6
 
Please login to merge, or discard this patch.
Client/ZippyBusClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\Client;
6 6
 
Please login to merge, or discard this patch.
Schedule/Stop.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\Schedule;
6 6
 
Please login to merge, or discard this patch.
ItmediaZippyBusBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle;
6 6
 
Please login to merge, or discard this patch.
Factory/ScheduleObjectFromArrayFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Itmedia\ZippyBusBundle\Factory;
6 6
 
@@ -58,11 +58,11 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $times = [];
60 60
         foreach ($array['schedule']['minutes'] ?? [] as $minute) {
61
-            $times[(int) $minute] = new StopTime((int)$minute, false);
61
+            $times[(int)$minute] = new StopTime((int)$minute, false);
62 62
         }
63 63
 
64 64
         foreach ($array['schedule']['partialMinutes'][0]['minutes'] ?? [] as $minute) {
65
-            $times[(int) $minute] = new StopTime((int)$minute, true, $array['schedule']['partialMinutes'][0]['notes'] ?? '');
65
+            $times[(int)$minute] = new StopTime((int)$minute, true, $array['schedule']['partialMinutes'][0]['notes'] ?? '');
66 66
         }
67 67
 
68 68
         return new Stop(
Please login to merge, or discard this patch.