Passed
Push — develop ( d548e3...69cbbf )
by nguereza
04:22
created
src/Handler/Error/Renderer/HtmlErrorRenderer.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 HtmlErrorRenderer
56 56
  * @package Platine\Framework\Handler\Error\Renderer
57 57
  */
58
-class HtmlErrorRenderer extends AbstractErrorRenderer
59
-{
58
+class HtmlErrorRenderer extends AbstractErrorRenderer {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Handler/Error/Renderer/JsonErrorRenderer.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 JsonErrorRenderer
56 56
  * @package Platine\Framework\Handler\Error\Renderer
57 57
  */
58
-class JsonErrorRenderer extends AbstractErrorRenderer
59
-{
58
+class JsonErrorRenderer extends AbstractErrorRenderer {
60 59
 
61 60
     /**
62 61
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Handler/Error/Renderer/AbstractErrorRenderer.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 AbstractErrorRenderer
56 56
  * @package Platine\Framework\Handler\Error\Renderer
57 57
  */
58
-abstract class AbstractErrorRenderer implements ErrorRenderInterface
59
-{
58
+abstract class AbstractErrorRenderer implements ErrorRenderInterface {
60 59
 
61 60
     /**
62 61
      * The default error title
Please login to merge, or discard this patch.
src/Handler/Error/ErrorHandlerInterface.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 ErrorHandlerInterface
57 57
  * @package Platine\Framework\Handler\Error
58 58
  */
59
-interface ErrorHandlerInterface
60
-{
59
+interface ErrorHandlerInterface {
61 60
 
62 61
     /**
63 62
      * Handle error and generate the response
Please login to merge, or discard this patch.
src/Handler/Error/ErrorHandler.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @class ErrorHandler
62 62
  * @package Platine\Framework\Handler\Error
63 63
  */
64
-class ErrorHandler implements ErrorHandlerInterface
65
-{
64
+class ErrorHandler implements ErrorHandlerInterface {
66 65
 
67 66
     /**
68 67
      * The content type
@@ -122,8 +121,7 @@  discard block
 block discarded – undo
122 121
      * Create new instance
123 122
      * @param LoggerInterface $logger
124 123
      */
125
-    public function __construct(LoggerInterface $logger)
126
-    {
124
+    public function __construct(LoggerInterface $logger) {
127 125
         $this->logger = $logger;
128 126
 
129 127
         //Add default renderer
Please login to merge, or discard this patch.
src/Console/Command/ConfigCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @package Platine\Framework\Console\Command
57 57
  * @template T
58 58
  */
59
-class ConfigCommand extends Command
60
-{
59
+class ConfigCommand extends Command {
61 60
 
62 61
     /**
63 62
      * The configuration instance
@@ -69,8 +68,7 @@  discard block
 block discarded – undo
69 68
      * Create new instance
70 69
      * @param Config<T> $config
71 70
      */
72
-    public function __construct(Config $config)
73
-    {
71
+    public function __construct(Config $config) {
74 72
         parent::__construct('config', 'Command to manage configuration');
75 73
 
76 74
         $this->addOption('-l|--list', 'List the configuration', '', false);
@@ -82,8 +80,7 @@  discard block
 block discarded – undo
82 80
     /**
83 81
      * {@inheritodc}
84 82
      */
85
-    public function execute()
86
-    {
83
+    public function execute() {
87 84
         if ($this->getOptionValue('list')) {
88 85
             $this->showConfigList();
89 86
         }
Please login to merge, or discard this patch.
src/Console/Command/VendorPublishCommand.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @package Platine\Framework\Console\Command
61 61
  * @template T
62 62
  */
63
-class VendorPublishCommand extends Command
64
-{
63
+class VendorPublishCommand extends Command {
65 64
 
66 65
     /**
67 66
      * Application instance
@@ -128,8 +127,7 @@  discard block
 block discarded – undo
128 127
     /**
129 128
      * {@inheritodc}
130 129
      */
131
-    public function execute()
132
-    {
130
+    public function execute() {
133 131
         $writer = $this->io()->writer();
134 132
         $name = $this->getArgumentValue('name');
135 133
         $writer->boldGreen(sprintf('PUBLISH OF PACKAGE [%s]', $name), true)->eol();
Please login to merge, or discard this patch.
src/Console/Command/RouteCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @package Platine\Framework\Console\Command
62 62
  * @template T
63 63
  */
64
-class RouteCommand extends Command
65
-{
64
+class RouteCommand extends Command {
66 65
     /**
67 66
      * The configuration instance
68 67
      * @var Config<T>
@@ -77,8 +76,7 @@  discard block
 block discarded – undo
77 76
      * @param Config<T> $config
78 77
      * @param Router $router
79 78
      */
80
-    public function __construct(Application $application, Config $config, Router $router)
81
-    {
79
+    public function __construct(Application $application, Config $config, Router $router) {
82 80
         parent::__construct('route', 'Command to manage route');
83 81
 
84 82
         $this->addOption('-l|--list', 'Show route list', null, false);
@@ -91,8 +89,7 @@  discard block
 block discarded – undo
91 89
     /**
92 90
      * {@inheritodc}
93 91
      */
94
-    public function execute()
95
-    {
92
+    public function execute() {
96 93
         if ($this->getOptionValue('list')) {
97 94
             $this->showRouteList();
98 95
         }
Please login to merge, or discard this patch.
src/Migration/MigrationRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,15 +54,13 @@
 block discarded – undo
54 54
  * @class MigrationRepository
55 55
  * @package Platine\Framework\Migration
56 56
  */
57
-class MigrationRepository extends Repository
58
-{
57
+class MigrationRepository extends Repository {
59 58
 
60 59
     /**
61 60
      * Create new instance
62 61
      * @param EntityManager $manager
63 62
      */
64
-    public function __construct(EntityManager $manager)
65
-    {
63
+    public function __construct(EntityManager $manager) {
66 64
         parent::__construct($manager, MigrationEntity::class);
67 65
     }
68 66
 }
Please login to merge, or discard this patch.