Test Failed
Push — develop ( a061b1...df8064 )
by nguereza
02:52
created
src/Service/Provider/CookieServiceProvider.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 CookieServiceProvider
57 57
  * @package Platine\Framework\Service\Provider
58 58
  */
59
-class CookieServiceProvider extends ServiceProvider
60
-{
59
+class CookieServiceProvider extends ServiceProvider {
61 60
     /**
62 61
      * {@inheritdoc}
63 62
      */
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
@@ -66,11 +66,11 @@
 block discarded – undo
66 66
      */
67 67
     public function register(): void
68 68
     {
69
-        $this->app->bind(ErrorHandlerInterface::class, function (ContainerInterface $app) {
69
+        $this->app->bind(ErrorHandlerInterface::class, function(ContainerInterface $app) {
70 70
             return new ErrorHandler($app->get(LoggerInterface::class));
71 71
         });
72 72
 
73
-        $this->app->bind(ErrorHandlerMiddleware::class, function (ContainerInterface $app) {
73
+        $this->app->bind(ErrorHandlerMiddleware::class, function(ContainerInterface $app) {
74 74
             return new ErrorHandlerMiddleware(
75 75
                 $app->get(Config::class)->get('app.debug', false),
76 76
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.
Braces   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,18 +59,17 @@
 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
      * {@inheritdoc}
66 65
      */
67 66
     public function register(): void
68 67
     {
69
-        $this->app->bind(ErrorHandlerInterface::class, function (ContainerInterface $app) {
68
+        $this->app->bind(ErrorHandlerInterface::class, function (ContainerInterface $app) {
70 69
             return new ErrorHandler($app->get(LoggerInterface::class));
71 70
         });
72 71
 
73
-        $this->app->bind(ErrorHandlerMiddleware::class, function (ContainerInterface $app) {
72
+        $this->app->bind(ErrorHandlerMiddleware::class, function (ContainerInterface $app) {
74 73
             return new ErrorHandlerMiddleware(
75 74
                 $app->get(Config::class)->get('app.debug', false),
76 75
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.
src/Service/Provider/SessionServiceProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,10 +68,10 @@
 block discarded – undo
68 68
     public function register(): void
69 69
     {
70 70
         $cfg = $this->app->get(Config::class)->get('session', []);
71
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) use ($cfg) {
71
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) use ($cfg) {
72 72
             return new Configuration($cfg);
73 73
         });
74
-        $this->app->bind(SessionHandlerInterface::class, function (ContainerInterface $app) {
74
+        $this->app->bind(SessionHandlerInterface::class, function(ContainerInterface $app) {
75 75
             return new LocalStorage(
76 76
                 $app->get(Filesystem::class),
77 77
                 $app->get(Configuration::class)
Please login to merge, or discard this patch.
Braces   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,18 +60,17 @@
 block discarded – undo
60 60
  * @class SessionServiceProvider
61 61
  * @package Platine\Framework\Service\Provider
62 62
  */
63
-class SessionServiceProvider extends ServiceProvider
64
-{
63
+class SessionServiceProvider extends ServiceProvider {
65 64
     /**
66 65
      * {@inheritdoc}
67 66
      */
68 67
     public function register(): void
69 68
     {
70 69
         $cfg = $this->app->get(Config::class)->get('session', []);
71
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) use ($cfg) {
70
+        $this->app->bind(Configuration::class, function (ContainerInterface $app) use ($cfg) {
72 71
             return new Configuration($cfg);
73 72
         });
74
-        $this->app->bind(SessionHandlerInterface::class, function (ContainerInterface $app) {
73
+        $this->app->bind(SessionHandlerInterface::class, function (ContainerInterface $app) {
75 74
             return new LocalStorage(
76 75
                 $app->get(Filesystem::class),
77 76
                 $app->get(Configuration::class)
Please login to merge, or discard this patch.
src/Service/Provider/ApiAuthServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@
 block discarded – undo
62 62
  * @class ApiAuthServiceProvider
63 63
  * @package Platine\Framework\Service\Provider
64 64
  */
65
-class ApiAuthServiceProvider extends ServiceProvider
66
-{
65
+class ApiAuthServiceProvider extends ServiceProvider {
67 66
     /**
68 67
      * {@inheritdoc}
69 68
      */
Please login to merge, or discard this patch.
src/Service/Provider/SchedulerServiceProvider.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 SchedulerServiceProvider
58 58
  * @package Platine\Framework\Service\Provider
59 59
  */
60
-class SchedulerServiceProvider extends ServiceProvider
61
-{
60
+class SchedulerServiceProvider extends ServiceProvider {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
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
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
src/Service/Provider/CacheServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function register(): void
72 72
     {
73
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
73
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
74 74
             return new Configuration($app->get(Config::class)->get('cache', []));
75 75
         });
76 76
         $this->app->bind(AdapterInterface::class, LocalAdapter::class);
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,14 +63,13 @@
 block discarded – undo
63 63
  * @class CacheServiceProvider
64 64
  * @package Platine\Framework\Service\Provider
65 65
  */
66
-class CacheServiceProvider extends ServiceProvider
67
-{
66
+class CacheServiceProvider extends ServiceProvider {
68 67
     /**
69 68
      * {@inheritdoc}
70 69
      */
71 70
     public function register(): void
72 71
     {
73
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
72
+        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
74 73
             return new Configuration($app->get(Config::class)->get('cache', []));
75 74
         });
76 75
         $this->app->bind(AdapterInterface::class, LocalAdapter::class);
Please login to merge, or discard this patch.
src/Service/Provider/CommandServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
  * @class CommandServiceProvider
71 71
  * @package Platine\Framework\Service\Provider
72 72
  */
73
-class CommandServiceProvider extends ServiceProvider
74
-{
73
+class CommandServiceProvider extends ServiceProvider {
75 74
     /**
76 75
      * {@inheritdoc}
77 76
      */
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
             $cfg = new LoggerConfiguration(
71 71
                 $app->get(Config::class)->get('logging', [])
72 72
             );
Please login to merge, or discard this patch.
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,14 +59,13 @@
 block discarded – undo
59 59
  * @class LoggerServiceProvider
60 60
  * @package Platine\Framework\Service\Provider
61 61
  */
62
-class LoggerServiceProvider extends ServiceProvider
63
-{
62
+class LoggerServiceProvider extends ServiceProvider {
64 63
     /**
65 64
      * {@inheritdoc}
66 65
      */
67 66
     public function register(): void
68 67
     {
69
-        $this->app->bind(LoggerInterface::class, function (ContainerInterface $app) {
68
+        $this->app->bind(LoggerInterface::class, function (ContainerInterface $app) {
70 69
             $cfg = new LoggerConfiguration(
71 70
                 $app->get(Config::class)->get('logging', [])
72 71
             );
Please login to merge, or discard this patch.