Passed
Push — develop ( 089cb5...597d05 )
by nguereza
05:42
created
src/Service/Provider/MigrationServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,7 @@
 block discarded – undo
64 64
  * @class MigrationServiceProvider
65 65
  * @package Platine\Framework\Service\Provider
66 66
  */
67
-class MigrationServiceProvider extends ServiceProvider
68
-{
67
+class MigrationServiceProvider extends ServiceProvider {
69 68
     /**
70 69
      * {@inheritdoc}
71 70
      */
Please login to merge, or discard this patch.
src/Service/Provider/TemplateServiceProvider.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
  * @class TemplateServiceProvider
62 62
  * @package Platine\Framework\Service\Provider
63 63
  */
64
-class TemplateServiceProvider extends ServiceProvider
65
-{
64
+class TemplateServiceProvider extends ServiceProvider {
66 65
     /**
67 66
      * {@inheritdoc}
68 67
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     {
71 71
         $config = $this->app->get(Config::class)->get('template', []);
72 72
 
73
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) use ($config) {
73
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) use ($config) {
74 74
             return new Configuration($config);
75 75
         });
76 76
         $this->app->bind(AbstractCache::class, $config['cache_driver'] ?? NullCache::class);
Please login to merge, or discard this patch.
src/Service/Provider/SecurityServiceProvider.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class SecurityServiceProvider
56 56
  * @package Platine\Framework\Service\Provider
57 57
  */
58
-class SecurityServiceProvider extends ServiceProvider
59
-{
58
+class SecurityServiceProvider extends ServiceProvider {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
      */
68 68
     public function register(): void
69 69
     {
70
-        $this->app->bind(SecurityPolicy::class, function (ContainerInterface $app) {
70
+        $this->app->bind(SecurityPolicy::class, function(ContainerInterface $app) {
71 71
             return new SecurityPolicy(
72 72
                 $app->get(Config::class),
73 73
                 $app->get(Router::class),
Please login to merge, or discard this patch.
src/Service/Provider/SessionServiceProvider.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@
 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
      */
Please login to merge, or discard this patch.
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.
src/Service/Provider/RoutingServiceProvider.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 RoutingServiceProvider
57 57
  * @package Platine\Framework\Service\Provider
58 58
  */
59
-class RoutingServiceProvider extends ServiceProvider
60
-{
59
+class RoutingServiceProvider extends ServiceProvider {
61 60
     /**
62 61
      * {@inheritdoc}
63 62
      */
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
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class CommandServiceProvider
58 58
  * @package Platine\Framework\Service\Provider
59 59
  */
60
-class CommandServiceProvider extends ServiceProvider
61
-{
60
+class CommandServiceProvider extends ServiceProvider {
62 61
     /**
63 62
      * {@inheritdoc}
64 63
      */
Please login to merge, or discard this patch.
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/BaseServiceProvider.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@
 block discarded – undo
66 66
  * @class BaseServiceProvider
67 67
  * @package Platine\Framework\Service\Provider
68 68
  */
69
-class BaseServiceProvider extends ServiceProvider
70
-{
69
+class BaseServiceProvider extends ServiceProvider {
71 70
     /**
72 71
      * {@inheritdoc}
73 72
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
     {
79 79
         $this->app->share(Application::class, $this->app);
80 80
         $this->app->share('app', $this->app);
81
-        $this->app->share(ConsoleApp::class, function () {
81
+        $this->app->share(ConsoleApp::class, function() {
82 82
             return new ConsoleApp('PLATINE CONSOLE', '1.0.0');
83 83
         });
84 84
         $this->app->share(ContainerInterface::class, $this->app);
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class);
89 89
         $this->app->bind(MaintenanceMiddleware::class);
90 90
         $this->app->bind(MaintenanceDriverInterface::class, FileMaintenanceDriver::class);
91
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
91
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
92 92
             return new ResponseEmitter(
93 93
                 $app->get(Config::class)->get('app.response_chunck_size', null)
94 94
             );
Please login to merge, or discard this patch.
src/Service/Provider/AuthServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
  * @class AuthServiceProvider
74 74
  * @package Platine\Framework\Service\Provider
75 75
  */
76
-class AuthServiceProvider extends ServiceProvider
77
-{
76
+class AuthServiceProvider extends ServiceProvider {
78 77
     /**
79 78
      * {@inheritdoc}
80 79
      */
Please login to merge, or discard this patch.