Passed
Push — develop ( f29f73...1d6b79 )
by nguereza
02:26
created
public/index.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -63,11 +63,11 @@
 block discarded – undo
63 63
 
64 64
 $app = new Application();
65 65
 $app->setConfigPath(CONFIG_PATH)
66
-      ->setRootPath(ROOT_PATH)
67
-      ->setAppPath(APP_PATH)
68
-      ->setVendorPath(VENDOR_PATH)
69
-      ->setStoragePath(STORAGE_PATH)
70
-      ->setEnvironment(ENVIRONMENT);
66
+        ->setRootPath(ROOT_PATH)
67
+        ->setAppPath(APP_PATH)
68
+        ->setVendorPath(VENDOR_PATH)
69
+        ->setStoragePath(STORAGE_PATH)
70
+        ->setEnvironment(ENVIRONMENT);
71 71
 
72 72
 /** @var HttpKernel $kernel */
73 73
 $kernel = $app->make(HttpKernel::class);
Please login to merge, or discard this patch.
app/Exception/ApplicationException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class ApplicationException
40 40
  * @package Platine\App\Exception
41 41
  */
42
-class ApplicationException extends Exception
43
-{
42
+class ApplicationException extends Exception {
44 43
 }
Please login to merge, or discard this patch.
app/Http/Action/WelcomeAction.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * @class WelcomeAction
59 59
  * @package Platine\App\Http\Action
60 60
  */
61
-class WelcomeAction implements RequestHandlerInterface
62
-{
61
+class WelcomeAction implements RequestHandlerInterface {
63 62
     /**
64 63
      * The template instance
65 64
      * @var Template
@@ -77,8 +76,7 @@  discard block
 block discarded – undo
77 76
      * @param Template $template
78 77
      * @param Application $app
79 78
      */
80
-    public function __construct(Template $template, Application $app)
81
-    {
79
+    public function __construct(Template $template, Application $app) {
82 80
         $this->template = $template;
83 81
         $this->app = $app;
84 82
     }
Please login to merge, or discard this patch.
app/Http/Middleware/DemoMiddleware.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 DemoMiddleware
57 57
  * @package Platine\App\Http\Middleware
58 58
  */
59
-class DemoMiddleware implements MiddlewareInterface
60
-{
59
+class DemoMiddleware implements MiddlewareInterface {
61 60
     /**
62 61
      * {@inheritdoc}
63 62
      */
Please login to merge, or discard this patch.
app/Provider/ConsoleServiceProvider.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 ConsoleServiceProvider
56 56
  * @package Platine\App\Provider
57 57
  */
58
-class ConsoleServiceProvider extends ServiceProvider
59
-{
58
+class ConsoleServiceProvider extends ServiceProvider {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
app/Provider/AppServiceProvider.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 AppServiceProvider
56 56
  * @package Platine\App\Provider
57 57
  */
58
-class AppServiceProvider extends ServiceProvider
59
-{
58
+class AppServiceProvider extends ServiceProvider {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.
app/Console/Command/ServerCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * @class ServerCommand
55 55
  * @package Platine\App\Console\Command
56 56
  */
57
-class ServerCommand extends Command
58
-{
57
+class ServerCommand extends Command {
59 58
     /**
60 59
      * The shell instance to use
61 60
      * @var Shell
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * {@inheritdoc}
68 67
      */
69
-    public function __construct(Shell $shell)
70
-    {
68
+    public function __construct(Shell $shell) {
71 69
         parent::__construct('server', 'Command to manage PHP development server');
72 70
         $this->addOption('-a|--address', 'Server address', 'localhost', true);
73 71
         $this->addOption('-p|--port', 'Server listen port', '8080', true);
@@ -79,8 +77,7 @@  discard block
 block discarded – undo
79 77
     /**
80 78
      * {@inheritdoc}
81 79
      */
82
-    public function execute()
83
-    {
80
+    public function execute() {
84 81
         $host = $this->getOptionValue('address');
85 82
         $port = $this->getOptionValue('port');
86 83
         $path = $this->getOptionValue('root');
Please login to merge, or discard this patch.