Passed
Push — develop ( c77ba7...d3c53a )
by nguereza
04:05
created
src/Auth/Exception/AccountLockedException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,6 +37,5 @@
 block discarded – undo
37 37
  * @class AccountLockedException
38 38
  * @package Platine\Framework\Auth\Exception
39 39
  */
40
-class AccountLockedException extends AuthenticationException
41
-{
40
+class AccountLockedException extends AuthenticationException {
42 41
 }
Please login to merge, or discard this patch.
src/Http/Exception/HttpException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 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
Please login to merge, or discard this patch.
src/Http/Exception/HttpSpecialException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 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
Please login to merge, or discard this patch.
src/Http/Exception/HttpNotFoundException.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 HttpNotFoundException
38 38
  * @package Platine\Framework\Http\Exception
39 39
  */
40
-class HttpNotFoundException extends HttpSpecialException
41
-{
40
+class HttpNotFoundException 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.
src/Http/Emitter/Exception/HeadersAlreadySentException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
  * @class HeadersAlreadySentException
41 41
  * @package Platine\Framework\Http\Emitter\Exception
42 42
  */
43
-class HeadersAlreadySentException extends RuntimeException
44
-{
43
+class HeadersAlreadySentException extends RuntimeException {
45 44
     /**
46 45
      * Create new instance
47 46
      * @return self
Please login to merge, or discard this patch.
src/Http/Emitter/Exception/OutputAlreadySentException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
  * @class OutputAlreadySentException
41 41
  * @package Platine\Http\Framework\Emitter\Exception
42 42
  */
43
-class OutputAlreadySentException extends RuntimeException
44
-{
43
+class OutputAlreadySentException extends RuntimeException {
45 44
     /**
46 45
      * Create new instance
47 46
      * @return self
Please login to merge, or discard this patch.
src/Migration/AbstractMigration.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class AbstractMigration
54 54
  * @package Platine\Framework\Migration
55 55
  */
56
-abstract class AbstractMigration extends Schema
57
-{
56
+abstract class AbstractMigration extends Schema {
58 57
     /**
59 58
      * Execute when do migrate
60 59
      * @return void
Please login to merge, or discard this patch.
src/App/Application.php 3 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -212,10 +212,10 @@
 block discarded – undo
212 212
         return $this;
213 213
     }
214 214
 
215
-     /**
216
-     * Return the application root path
217
-     * @return string
218
-     */
215
+        /**
216
+         * Return the application root path
217
+         * @return string
218
+         */
219 219
     public function getAppPath(): string
220 220
     {
221 221
         return $this->appPath;
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -401,7 +401,7 @@  discard block
 block discarded – undo
401 401
      * @return EventInterface
402 402
      */
403 403
     public function dispatch(
404
-        string|EventInterface $eventName,
404
+        string | EventInterface $eventName,
405 405
         ?EventInterface $event = null
406 406
     ): EventInterface {
407 407
         return $this->dispatcher->dispatch($eventName, $event);
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
      */
419 419
     public function listen(
420 420
         string $eventName,
421
-        ListenerInterface|callable|string $listener,
421
+        ListenerInterface | callable | string $listener,
422 422
         int $priority = DispatcherInterface::PRIORITY_DEFAULT
423 423
     ): self {
424 424
         if (is_string($listener)) {
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
      * @return ServiceProvider
504 504
      */
505 505
     public function registerServiceProvider(
506
-        string|ServiceProvider $provider,
506
+        string | ServiceProvider $provider,
507 507
         bool $force = false
508 508
     ): ServiceProvider {
509 509
         $registered = $this->getServiceProvider($provider);
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
      * @param string|ServiceProvider $provider
532 532
      * @return ServiceProvider|null
533 533
      */
534
-    public function getServiceProvider(string|ServiceProvider $provider): ?ServiceProvider
534
+    public function getServiceProvider(string | ServiceProvider $provider): ?ServiceProvider
535 535
     {
536 536
         $name = is_string($provider)
537 537
                 ? $provider
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@  discard block
 block discarded – undo
67 67
  * @class Application
68 68
  * @package Platine\Framework\App
69 69
  */
70
-class Application extends Container
71
-{
70
+class Application extends Container {
72 71
     /**
73 72
      * The application version
74 73
      */
@@ -156,8 +155,7 @@  discard block
 block discarded – undo
156 155
      * Create new instance
157 156
      * @param string $basePath
158 157
      */
159
-    public function __construct(string $basePath = '')
160
-    {
158
+    public function __construct(string $basePath = '') {
161 159
         parent::__construct();
162 160
 
163 161
         $this->basePath = $basePath;
Please login to merge, or discard this patch.