Passed
Push — master ( 40bd0a...4b7539 )
by Chris
02:40
created
src/Decoding/Exceptions/InvalidReadException.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,4 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace DaveRandom\LibLifxLan\Decoding\Exceptions;
4 4
 
5
-final class InvalidReadException extends DecodingException { }
5
+final class InvalidReadException extends DecodingException
6
+{
7
+}
Please login to merge, or discard this 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\Exceptions;
4 4
 
Please login to merge, or discard this patch.
src/Header/Header.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\Header;
4 4
 
Please login to merge, or discard this patch.
src/Messages/Light/Commands/SetPower.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\Light\Commands;
4 4
 
Please login to merge, or discard this patch.
src/Messages/Light/Commands/SetInfrared.php 2 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     public function __construct(int $brightness)
20 20
     {
21 21
         if ($brightness < 0 || $brightness > 65535) {
22
-            throw new InvalidValueException("Brightness {$brightness} outside allowable range of 0 - 65535");
22
+            throw new InvalidValueException("brightness {$brightness} outside allowable range of 0 - 65535");
23 23
         }
24 24
 
25 25
         $this->brightness = $brightness;
Please login to merge, or discard this 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\Light\Commands;
4 4
 
Please login to merge, or discard this patch.
src/Messages/Light/Responses/StatePower.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\Light\Responses;
4 4
 
Please login to merge, or discard this patch.
src/Messages/Light/Requests/GetInfrared.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\Light\Requests;
4 4
 
Please login to merge, or discard this patch.
src/Messages/Message.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/Messages/Device/Commands/SetLabel.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\Device\Commands;
4 4
 
Please login to merge, or discard this patch.
src/Messages/Device/Responses/StateVersion.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\Device\Responses;
4 4
 
Please login to merge, or discard this patch.