@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding\Exceptions; |
4 | 4 |
@@ -4,4 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use DaveRandom\LibLifxLan\Exception; |
6 | 6 | |
7 | -abstract class EncodingException extends Exception { } |
|
7 | +abstract class EncodingException extends Exception |
|
8 | +{ |
|
9 | +} |
@@ -2,4 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding\Exceptions; |
4 | 4 | |
5 | -class InvalidMessageException extends EncodingException { } |
|
5 | +class InvalidMessageException extends EncodingException |
|
6 | +{ |
|
7 | +} |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding\Exceptions; |
4 | 4 |
@@ -2,4 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding\Exceptions; |
4 | 4 | |
5 | -final class InvalidMessageHeaderException extends InvalidMessageException { } |
|
5 | +final class InvalidMessageHeaderException extends InvalidMessageException |
|
6 | +{ |
|
7 | +} |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Encoding\Exceptions; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding\Exceptions; |
4 | 4 |
@@ -4,4 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use DaveRandom\LibLifxLan\Exception; |
6 | 6 | |
7 | -abstract class DecodingException extends Exception { } |
|
7 | +abstract class DecodingException extends Exception |
|
8 | +{ |
|
9 | +} |
@@ -2,4 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding\Exceptions; |
4 | 4 | |
5 | -class MalformedMessagePayloadException extends DecodingException { } |
|
5 | +class MalformedMessagePayloadException extends DecodingException |
|
6 | +{ |
|
7 | +} |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding\Exceptions; |
4 | 4 |
@@ -2,4 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding\Exceptions; |
4 | 4 | |
5 | -final class InvalidMessagePayloadLengthException extends MalformedMessagePayloadException { } |
|
5 | +final class InvalidMessagePayloadLengthException extends MalformedMessagePayloadException |
|
6 | +{ |
|
7 | +} |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace DaveRandom\LibLifxLan\Decoding\Exceptions; |
4 | 4 |