Passed
Push — develop ( a66307...2f1838 )
by nguereza
02:59
created
src/Migration/Seed/AbstractSeed.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 AbstractSeed
54 54
  * @package Platine\Framework\Migration\Seed
55 55
  */
56
-abstract class AbstractSeed extends QueryBuilder
57
-{
56
+abstract class AbstractSeed extends QueryBuilder {
58 57
     /**
59 58
      * Run the seed
60 59
      * @return void
Please login to merge, or discard this patch.
src/Migration/Seed/Command/SeedStatusCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     ) {
72 72
         parent::__construct($app, $config, $filesystem);
73 73
         $this->setName('seed:status')
74
-             ->setDescription('Show your database seeds status');
74
+                ->setDescription('Show your database seeds status');
75 75
     }
76 76
 
77 77
     /**
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * @template T
58 58
  * @extends AbstractSeedCommand<T>
59 59
  */
60
-class SeedStatusCommand extends AbstractSeedCommand
61
-{
60
+class SeedStatusCommand extends AbstractSeedCommand {
62 61
     /**
63 62
      * Create new instance
64 63
      * {@inheritdoc}
@@ -76,8 +75,7 @@  discard block
 block discarded – undo
76 75
     /**
77 76
      * {@inheritdoc}
78 77
      */
79
-    public function execute()
80
-    {
78
+    public function execute() {
81 79
         $writer = $this->io()->writer();
82 80
         $writer->boldYellow('SEED STATUS', true)->eol();
83 81
         $writer->bold('Seed path: ');
Please login to merge, or discard this patch.
src/Migration/Seed/Command/SeedExecuteCommand.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     ) {
72 72
         parent::__construct($app, $config, $filesystem);
73 73
         $this->setName('seed:exec')
74
-             ->setDescription('Command to execute seed');
74
+                ->setDescription('Command to execute seed');
75 75
     }
76 76
 
77 77
     /**
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * @template T
58 58
  * @extends AbstractSeedCommand<T>
59 59
  */
60
-class SeedExecuteCommand extends AbstractSeedCommand
61
-{
60
+class SeedExecuteCommand extends AbstractSeedCommand {
62 61
     /**
63 62
      * Create new instance
64 63
      * {@inheritdoc}
@@ -76,8 +75,7 @@  discard block
 block discarded – undo
76 75
     /**
77 76
      * {@inheritdoc}
78 77
      */
79
-    public function execute()
80
-    {
78
+    public function execute() {
81 79
         $io = $this->io();
82 80
         $writer = $io->writer();
83 81
         $writer->boldYellow('SEED EXECUTION', true)->eol();
Please login to merge, or discard this patch.
src/Service/Provider/BaseServiceProvider.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $this->app->share(Application::class, $this->app);
78 78
         $this->app->share('app', $this->app);
79
-        $this->app->share(ConsoleApp::class, function () {
79
+        $this->app->share(ConsoleApp::class, function() {
80 80
             return new ConsoleApp('PLATINE CONSOLE', '1.0.0');
81 81
         });
82 82
         $this->app->share(ContainerInterface::class, $this->app);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         $this->app->share(Router::class);
85 85
         $this->app->bind(RouteCollectionInterface::class, RouteCollection::class);
86 86
         $this->app->bind(MiddlewareResolverInterface::class, MiddlewareResolver::class);
87
-        $this->app->bind(EmitterInterface::class, function (ContainerInterface $app) {
87
+        $this->app->bind(EmitterInterface::class, function(ContainerInterface $app) {
88 88
             return new ResponseEmitter(
89 89
                 $app->get(Config::class)->get('app.response_chunck_size', null)
90 90
             );
Please login to merge, or discard this patch.
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.
src/Kernel/HttpKernel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@
 block discarded – undo
66 66
  * @package Platine\Framework\Kernel
67 67
  * @template T
68 68
  */
69
-class HttpKernel extends BaseKernel implements RequestHandlerInterface
70
-{
69
+class HttpKernel extends BaseKernel implements RequestHandlerInterface {
71 70
     /**
72 71
      * The router instance
73 72
      * @var Router
Please login to merge, or discard this patch.
src/Kernel/BaseKernel.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 BaseKernel
54 54
  * @package Platine\Framework\Kernel
55 55
  */
56
-class BaseKernel
57
-{
56
+class BaseKernel {
58 57
     /**
59 58
      * Application instance
60 59
      * @var Application
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * Create new instance
66 65
      * @param Application $app
67 66
      */
68
-    public function __construct(Application $app)
69
-    {
67
+    public function __construct(Application $app) {
70 68
         $this->app = $app;
71 69
     }
72 70
 
Please login to merge, or discard this patch.
src/Pagination/ServerRequestUrlGenerator.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class ServerRequestUrlGenerator
55 55
  * @package Platine\Framework\Pagination
56 56
  */
57
-class ServerRequestUrlGenerator implements UrlGeneratorInterface
58
-{
57
+class ServerRequestUrlGenerator implements UrlGeneratorInterface {
59 58
     /**
60 59
      * The server request instance
61 60
      * @var ServerRequestInterface
@@ -79,8 +78,7 @@  discard block
 block discarded – undo
79 78
      * @param ServerRequestInterface $request
80 79
      * @param string $queryName
81 80
      */
82
-    public function __construct(ServerRequestInterface $request, string $queryName)
83
-    {
81
+    public function __construct(ServerRequestInterface $request, string $queryName) {
84 82
         $this->request = $request;
85 83
         $this->queryVarName = $queryName;
86 84
 
Please login to merge, or discard this patch.
src/Helper/Flash.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 Flash
54 54
  * @package Platine\Framework\Helper
55 55
  */
56
-class Flash
57
-{
56
+class Flash {
58 57
     /**
59 58
      * The session instance
60 59
      * @var Session
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
      * Create new instance
66 65
      * @param Session $session
67 66
      */
68
-    public function __construct(Session $session)
69
-    {
67
+    public function __construct(Session $session) {
70 68
         $this->session = $session;
71 69
     }
72 70
 
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
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
57 57
  * @class ServiceProvider
58 58
  * @package Platine\Framework\Service
59 59
  */
60
-class ServiceProvider
61
-{
60
+class ServiceProvider {
62 61
     /**
63 62
      * The Application instance
64 63
      * @var Application
@@ -75,8 +74,7 @@  discard block
 block discarded – undo
75 74
      * Create new instance
76 75
      * @param Application $app
77 76
      */
78
-    public function __construct(Application $app)
79
-    {
77
+    public function __construct(Application $app) {
80 78
         $this->app = $app;
81 79
     }
82 80
 
Please login to merge, or discard this patch.