Completed
Push — master ( 4b7539...ee2373 )
by Chris
02:39
created
src/Decoding/ProtocolHeaderDecoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Decoding;
4 4
 
Please login to merge, or discard this patch.
src/Decoding/MessageDecoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Decoding;
4 4
 
Please login to merge, or discard this patch.
src/Decoding/FrameAddressDecoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Decoding;
4 4
 
Please login to merge, or discard this patch.
src/Decoding/PacketDecoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Decoding;
4 4
 
Please login to merge, or discard this patch.
src/Encoding/ProtocolHeaderEncoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Encoding;
4 4
 
Please login to merge, or discard this patch.
src/Encoding/HeaderEncoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Encoding;
4 4
 
Please login to merge, or discard this patch.
src/Encoding/PacketEncoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Encoding;
4 4
 
Please login to merge, or discard this patch.
src/Encoding/MessageEncoder.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Encoding;
4 4
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
         $result = ($dateTime->format('U') * 1000000000) + ($dateTime->format('u') * 1000);
164 164
 
165 165
         if ($result < 0) {
166
-            throw new InvalidMessageException("Timestamp {$dateTime->format('Y-m-d H:i:s.u')} is negative");
166
+            throw new InvalidMessageException("timestamp {$dateTime->format('Y-m-d H:i:s.u')} is negative");
167 167
         }
168 168
 
169 169
         return $result;
Please login to merge, or discard this patch.
src/Encoding/FrameEncoder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Encoding;
4 4
 
Please login to merge, or discard this patch.