Passed
Push — master ( d3e8aa...86cfdb )
by nguereza
05:36 queued 03:09
created
app/Http/Action/HomeAction.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 HomeAction
58 58
  * @package Platine\App\Http\Action
59 59
  */
60
-class HomeAction implements RequestHandlerInterface
61
-{
60
+class HomeAction implements RequestHandlerInterface {
62 61
     /**
63 62
      * The template instance
64 63
      * @var Template
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
      * Create new instance
70 69
      * @param Template $template
71 70
      */
72
-    public function __construct(Template $template)
73
-    {
71
+    public function __construct(Template $template) {
74 72
         $this->template = $template;
75 73
     }
76 74
 
Please login to merge, or discard this patch.
app/Console/Command/ServerCommand.php 1 patch
Braces   +4 added lines, -7 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', '0.0.0.0', 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');
@@ -92,7 +89,7 @@  discard block
 block discarded – undo
92 89
 
93 90
         $this->shell->execute(true);
94 91
         $writer->boldWhite($this->shell->getOutput(), true);
95
-        if ($this->shell->getExitCode() !== 0) {
92
+        if ($this->shell->getExitCode() !== 0) {
96 93
             $writer->boldRed($this->shell->getErrorOutput(), true);
97 94
         }
98 95
     }
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.