Test Failed
Push — develop ( acdfb2...2de2bf )
by nguereza
02:53
created
src/MyServiceProvider.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 MyServiceProvider
54 54
  * @package Platine\Framework
55 55
  */
56
-class MyServiceProvider extends ServiceProvider
57
-{
56
+class MyServiceProvider extends ServiceProvider {
58 57
 
59 58
     /**
60 59
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Service/Provider/RoutingServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * class RoutingServiceProvider
56 56
  * @package Platine\Framework\Service\Provider
57 57
  */
58
-class RoutingServiceProvider extends ServiceProvider
59
-{
58
+class RoutingServiceProvider extends ServiceProvider {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Service/Provider/BaseServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $this->app->bind(ResolverInterface::class, ConstructorResolver::class);
82 82
         $this->app->bind(CallableResolverInterface::class, CallableResolver::class);
83 83
         $this->app->bind(RequestHandlerInterface::class, $this->app);
84
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
84
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
85 85
             return new ResponseEmitter(
86 86
                 $app->get(Config::class)->get('app.response_length', null)
87 87
             );
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@
 block discarded – undo
64 64
  * class BaseServiceProvider
65 65
  * @package Platine\Framework\Service\Provider
66 66
  */
67
-class BaseServiceProvider extends ServiceProvider
68
-{
67
+class BaseServiceProvider extends ServiceProvider {
69 68
 
70 69
     /**
71 70
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Service/Provider/EventServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * class EventServiceProvider
58 58
  * @package Platine\Framework\Service\Provider
59 59
  */
60
-class EventServiceProvider extends ServiceProvider
61
-{
60
+class EventServiceProvider extends ServiceProvider {
62 61
 
63 62
     /**
64 63
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Service/Provider/ErrorHandlerServiceProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,11 +67,11 @@
 block discarded – undo
67 67
      */
68 68
     public function register(): void
69 69
     {
70
-        $this->app->bind(ErrorHandlerInterface::class, function (ContainerInterface $app) {
70
+        $this->app->bind(ErrorHandlerInterface::class, function(ContainerInterface $app) {
71 71
             return new ErrorHandler($app->get(LoggerInterface::class));
72 72
         });
73 73
 
74
-        $this->app->bind(ErrorHandlerMiddleware::class, function (ContainerInterface $app) {
74
+        $this->app->bind(ErrorHandlerMiddleware::class, function(ContainerInterface $app) {
75 75
             return new ErrorHandlerMiddleware(
76 76
                 $app->get(Config::class)->get('app.debug'),
77 77
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * class ErrorHandlerServiceProvider
60 60
  * @package Platine\Framework\Service\Provider
61 61
  */
62
-class ErrorHandlerServiceProvider extends ServiceProvider
63
-{
62
+class ErrorHandlerServiceProvider extends ServiceProvider {
64 63
 
65 64
     /**
66 65
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Service/Provider/LoggerServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      */
67 67
     public function register(): void
68 68
     {
69
-        $this->app->bind(LoggerInterface::class, function (ContainerInterface $app) {
69
+        $this->app->bind(LoggerInterface::class, function(ContainerInterface $app) {
70 70
             return new Logger(
71 71
                 new LoggerConfiguration($app->get(Config::class)->get('logging', []))
72 72
             );
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
  * class LoggerServiceProvider
59 59
  * @package Platine\Framework\Service\Provider
60 60
  */
61
-class LoggerServiceProvider extends ServiceProvider
62
-{
61
+class LoggerServiceProvider extends ServiceProvider {
63 62
 
64 63
     /**
65 64
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Service/ServiceProvider.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
  * class ServiceProvider
54 54
  * @package Platine\Framework\Service
55 55
  */
56
-class ServiceProvider
57
-{
56
+class ServiceProvider {
58 57
 
59 58
     /**
60 59
      * The Application instance
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * @param AbstractApplication $app
68 67
      */
69
-    public function __construct(AbstractApplication $app)
70
-    {
68
+    public function __construct(AbstractApplication $app) {
71 69
         $this->app = $app;
72 70
     }
73 71
 
Please login to merge, or discard this patch.
src/Handler/Error/ErrorRenderInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * class ErrorRenderInterface
55 55
  * @package Platine\Framework\Handler\Error
56 56
  */
57
-interface ErrorRenderInterface
58
-{
57
+interface ErrorRenderInterface {
59 58
 
60 59
     /**
61 60
      * Render the error
Please login to merge, or discard this patch.
src/Handler/Error/ErrorHandlerInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * class ErrorHandlerInterface
57 57
  * @package Platine\Framework\Handler\Error
58 58
  */
59
-interface ErrorHandlerInterface
60
-{
59
+interface ErrorHandlerInterface {
61 60
 
62 61
     /**
63 62
      * Handle error and generate the response
Please login to merge, or discard this patch.