Test Failed
Push — develop ( a061b1...df8064 )
by nguereza
02:52
created
src/Http/Exception/HttpException.php 1 patch
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
  * @class HttpException
42 42
  * @package Platine\Framework\Http\Exception
43 43
  */
44
-class HttpException extends Exception
45
-{
44
+class HttpException extends Exception {
46 45
     /**
47 46
      * The instance of server request that throw this exception
48 47
      * @var ServerRequestInterface
@@ -79,7 +78,7 @@  discard block
 block discarded – undo
79 78
         string $message = '',
80 79
         int $code = 0,
81 80
         ?Throwable $previous = null
82
-    ) {
81
+    ) {
83 82
         parent::__construct($message, $code, $previous);
84 83
         $this->request = $request;
85 84
     }
Please login to merge, or discard this patch.
src/Http/Exception/HttpNotFoundException.php 1 patch
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@  discard block
 block discarded – undo
40 40
  * @class HttpNotFoundException
41 41
  * @package Platine\Framework\Http\Exception
42 42
  */
43
-class HttpNotFoundException extends HttpSpecialException
44
-{
43
+class HttpNotFoundException extends HttpSpecialException {
45 44
     /**
46 45
      *
47 46
      * @var int
@@ -66,7 +65,7 @@  discard block
 block discarded – undo
66 65
         ServerRequestInterface $request,
67 66
         ?string $message = null,
68 67
         ?Throwable $previous = null
69
-    ) {
68
+    ) {
70 69
         parent::__construct($request, $message, $previous);
71 70
 
72 71
         $this->description = sprintf(
Please login to merge, or discard this patch.
src/Http/Exception/HttpForbiddenException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class HttpForbiddenException
40 40
  * @package Platine\Framework\Http\Exception
41 41
  */
42
-class HttpForbiddenException extends HttpSpecialException
43
-{
42
+class HttpForbiddenException extends HttpSpecialException {
44 43
     /**
45 44
      *
46 45
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpNotImplementedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpNotImplementedException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpNotImplementedException extends HttpSpecialException
41
-{
40
+class HttpNotImplementedException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpBadRequestException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpBadRequestException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpBadRequestException extends HttpSpecialException
41
-{
40
+class HttpBadRequestException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpInternalServerErrorException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpInternalServerErrorException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpInternalServerErrorException extends HttpSpecialException
41
-{
40
+class HttpInternalServerErrorException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpSpecialException.php 1 patch
Braces   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@  discard block
 block discarded – undo
40 40
  * @class HttpSpecialException
41 41
  * @package Platine\Framework\Http\Exception
42 42
  */
43
-abstract class HttpSpecialException extends HttpException
44
-{
43
+abstract class HttpSpecialException extends HttpException {
45 44
     /**
46 45
      * Create new instance
47 46
      * @param ServerRequestInterface $request
@@ -52,8 +51,8 @@  discard block
 block discarded – undo
52 51
         ServerRequestInterface $request,
53 52
         ?string $message = null,
54 53
         ?Throwable $previous = null
55
-    ) {
56
-        if ($message !== null) {
54
+    ) {
55
+        if ($message !== null) {
57 56
             $this->message = $message;
58 57
         }
59 58
 
Please login to merge, or discard this patch.
src/Http/Exception/HttpUnauthorizedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpUnauthorizedException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpUnauthorizedException extends HttpSpecialException
41
-{
40
+class HttpUnauthorizedException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.
src/Http/Exception/HttpMethodNotAllowedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
  * @class HttpMethodNotAllowedException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpMethodNotAllowedException extends HttpSpecialException
41
-{
40
+class HttpMethodNotAllowedException extends HttpSpecialException {
42 41
     /**
43 42
      *
44 43
      * @var int
Please login to merge, or discard this patch.