Test Failed
Push — develop ( c3d980...50f9bb )
by nguereza
02:14
created
src/Service/ServiceProvider.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 ServiceProvider
54 54
  * @package Platine\Framework\Service
55 55
  */
56
-class ServiceProvider
57
-{
56
+class ServiceProvider {
58 57
 
59 58
     /**
60 59
      * The Application instance
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
      * Create new instance
67 66
      * @param Application $app
68 67
      */
69
-    public function __construct(Application $app)
70
-    {
68
+    public function __construct(Application $app) {
71 69
         $this->app = $app;
72 70
     }
73 71
 
Please login to merge, or discard this patch.
src/App/Application.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,9 +161,9 @@
 block discarded – undo
161 161
     }
162 162
 
163 163
         /**
164
-     * Boot the application
165
-     * @return void
166
-     */
164
+         * Boot the application
165
+         * @return void
166
+         */
167 167
     public function boot(): void
168 168
     {
169 169
         if ($this->booted) {
Please login to merge, or discard this 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
  * class Application
61 61
  * @package Platine\Framework\App
62 62
  */
63
-class Application extends Container
64
-{
63
+class Application extends Container {
65 64
 
66 65
     /**
67 66
      * The application version
@@ -102,8 +101,7 @@  discard block
 block discarded – undo
102 101
      * Create new instance
103 102
      * @param string $basePath
104 103
      */
105
-    public function __construct(string $basePath = '')
106
-    {
104
+    public function __construct(string $basePath = '') {
107 105
         parent::__construct();
108 106
         $this->basePath = $basePath;
109 107
         $this->loadCoreServiceProviders();
Please login to merge, or discard this patch.
src/Demo/RepositoryServiceProvider.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * class RepositoryServiceProvider
55 55
  * @package Platine\Framework
56 56
  */
57
-class RepositoryServiceProvider extends ServiceProvider
58
-{
57
+class RepositoryServiceProvider extends ServiceProvider {
59 58
 
60 59
     /**
61 60
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Demo/MyServiceProvider.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 MyServiceProvider
54 54
  * @package Platine\Framework
55 55
  */
56
-class MyServiceProvider extends ServiceProvider
57
-{
56
+class MyServiceProvider extends ServiceProvider {
58 57
 
59 58
     /**
60 59
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Demo/Repository/UserRepository.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,11 +11,9 @@
 block discarded – undo
11 11
  *
12 12
  * @author tony
13 13
  */
14
-class UserRepository extends Repository
15
-{
14
+class UserRepository extends Repository {
16 15
 
17
-    public function __construct(EntityManager $manager)
18
-    {
16
+    public function __construct(EntityManager $manager) {
19 17
         parent::__construct($manager, User::class);
20 18
     }
21 19
 }
Please login to merge, or discard this patch.
src/Demo/Entity/User.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,7 @@
 block discarded – undo
10 10
  *
11 11
  * @author tony
12 12
  */
13
-class User extends Entity
14
-{
13
+class User extends Entity {
15 14
 
16 15
     public static function mapEntity(EntityMapperInterface $mapper): void
17 16
     {
Please login to merge, or discard this patch.
src/Kernel/ConsoleKernel.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 ConsoleKernel
58 58
  * @package Platine\Framework\Kernel
59 59
  */
60
-class ConsoleKernel
61
-{
60
+class ConsoleKernel {
62 61
 
63 62
     protected ConsoleApp $console;
64 63
     protected Application $app;
@@ -80,8 +79,7 @@  discard block
 block discarded – undo
80 79
      * @param Application $app
81 80
      * @param ConsoleApp $console
82 81
      */
83
-    public function __construct(Application $app, ConsoleApp $console)
84
-    {
82
+    public function __construct(Application $app, ConsoleApp $console) {
85 83
         $this->app = $app;
86 84
         $this->console = $console;
87 85
     }
Please login to merge, or discard this patch.
src/Demo/ConfigCommand.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -17,16 +17,14 @@  discard block
 block discarded – undo
17 17
  *
18 18
  * @author tony
19 19
  */
20
-class ConfigCommand extends Command
21
-{
20
+class ConfigCommand extends Command {
22 21
 
23 22
     protected Application $application;
24 23
 
25 24
     /**
26 25
      *
27 26
      */
28
-    public function __construct(Application $application)
29
-    {
27
+    public function __construct(Application $application) {
30 28
         parent::__construct('config', 'Command to manage configuration');
31 29
         $this->setAlias('c');
32 30
 
@@ -36,8 +34,7 @@  discard block
 block discarded – undo
36 34
         $this->application = $application;
37 35
     }
38 36
 
39
-    public function execute()
40
-    {
37
+    public function execute() {
41 38
         if ($this->getArgumentValue('list')) {
42 39
             $this->showConfigList();
43 40
         }
Please login to merge, or discard this patch.
src/Demo/TemplateResponse.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
  *
17 17
  * @author tony
18 18
  */
19
-class TemplateResponse extends Response
20
-{
19
+class TemplateResponse extends Response {
21 20
 
22 21
     protected Template $template;
23 22
 
Please login to merge, or discard this patch.