Passed
Push — master ( c0886a...23eada )
by Chris
03:14
created
src/Messages/UnknownMessage.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\Messages;
4 4
 
Please login to merge, or discard this patch.
src/Encoding/MessageEncoder.php 1 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.