Completed
Push — master ( f173a6...4a27fe )
by Angel Fernando Quiroz
37:49 queued 04:39
created
src/Chamilo/CoreBundle/Entity/ToolResourceRights.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      */
49 49
     public function __toString()
50 50
     {
51
-        return (string)$this->getMask();
51
+        return (string) $this->getMask();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/Tool.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     public function __toString()
61 61
     {
62
-        return (string)$this->getName();
62
+        return (string) $this->getName();
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Migrations/Data/ORM/LoadPageData.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1201,7 +1201,7 @@  discard block
 block discarded – undo
1201 1201
                     'page' => $global,
1202 1202
                     'code' => 'header-top',
1203 1203
                 ),
1204
-                function ($container) {
1204
+                function($container) {
1205 1205
                     $container->setSetting(
1206 1206
                         'layout',
1207 1207
                         '<div class="pull-right">{{ CONTENT }}</div>'
@@ -1256,7 +1256,7 @@  discard block
 block discarded – undo
1256 1256
                     'page' => $global,
1257 1257
                     'code' => 'footer',
1258 1258
                 ),
1259
-                function ($container) {
1259
+                function($container) {
1260 1260
                     $container->setSetting(
1261 1261
                         'layout',
1262 1262
                         '<div class="row page-footer well">{{ CONTENT }}</div>'
@@ -1275,7 +1275,7 @@  discard block
 block discarded – undo
1275 1275
                     'page' => $global,
1276 1276
                     'code' => 'content',
1277 1277
                 ),
1278
-                function ($container) {
1278
+                function($container) {
1279 1279
                     $container->setSetting(
1280 1280
                         'layout',
1281 1281
                         '<div class="col-sm-3">{{ CONTENT }}</div>'
@@ -1291,7 +1291,7 @@  discard block
 block discarded – undo
1291 1291
                     'page' => $global,
1292 1292
                     'code' => 'content',
1293 1293
                 ),
1294
-                function ($container) {
1294
+                function($container) {
1295 1295
                     $container->setSetting(
1296 1296
                         'layout',
1297 1297
                         '<div class="col-sm-2 col-sm-offset-3">{{ CONTENT }}</div>'
@@ -1307,7 +1307,7 @@  discard block
 block discarded – undo
1307 1307
                     'page' => $global,
1308 1308
                     'code' => 'content',
1309 1309
                 ),
1310
-                function ($container) {
1310
+                function($container) {
1311 1311
                     $container->setSetting(
1312 1312
                         'layout',
1313 1313
                         '<div class="col-sm-2">{{ CONTENT }}</div>'
@@ -1323,7 +1323,7 @@  discard block
 block discarded – undo
1323 1323
                     'page' => $global,
1324 1324
                     'code' => 'content',
1325 1325
                 ),
1326
-                function ($container) {
1326
+                function($container) {
1327 1327
                     $container->setSetting(
1328 1328
                         'layout',
1329 1329
                         '<div class="col-sm-2">{{ CONTENT }}</div>'
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/CommandExecutor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 
125 125
             $output = $this->output;
126 126
             $process->run(
127
-                function ($type, $data) use ($output) {
127
+                function($type, $data) use ($output) {
128 128
                     $output->write($data);
129 129
                 }
130 130
             );
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Process/Step/AbstractStep.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         error_log($command);
85 85
         error_log(print_r($params, 1));
86 86
         // Add error_log in vendor/symfony/symfony/src/Symfony/Component/Console/Application.php run() function
87
-        $mem = (int)memory_get_usage() / (1024 * 1024);
87
+        $mem = (int) memory_get_usage() / (1024 * 1024);
88 88
         $time = time();
89 89
 
90 90
         $result = null;
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
                 'Command "%s" executed in %u second(s), memory usage: %.2fMb',
103 103
                 $command,
104 104
                 time() - $time,
105
-                (int)memory_get_usage() / (1024 * 1024) - $mem
105
+                (int) memory_get_usage() / (1024 * 1024) - $mem
106 106
             )
107 107
         );
108 108
         $output->writeln('');
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Form/Type/Configuration/MailerType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     {
104 104
         $resolver->setDefaults(
105 105
             array(
106
-                'validation_groups' => function (FormInterface $form) {
106
+                'validation_groups' => function(FormInterface $form) {
107 107
                     $data = $form->getData();
108 108
 
109 109
                     return 'smtp' == $data['chamilo_installer_mailer_transport']
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Requirement/Requirement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
         $help = null
30 30
     ) {
31 31
         $this->label = $label;
32
-        $this->fulfilled = (Boolean)$fulfilled;
32
+        $this->fulfilled = (Boolean) $fulfilled;
33 33
         $this->expected = $expected;
34 34
         $this->actual = $actual;
35
-        $this->required = (Boolean)$required;
35
+        $this->required = (Boolean) $required;
36 36
         $this->help = $help;
37 37
     }
38 38
 
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Requirement/ExtensionsRequirements.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
             'requirements'
34 34
         );
35 35
 
36
-        $pcreVersion = defined('PCRE_VERSION') ? (float)PCRE_VERSION : null;
36
+        $pcreVersion = defined('PCRE_VERSION') ? (float) PCRE_VERSION : null;
37 37
 
38 38
         $this
39 39
             ->add(
Please login to merge, or discard this patch.
src/Chamilo/UserBundle/Form/UserType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         // Update Author id
72 72
         $builder->addEventListener(
73 73
             FormEvents::POST_SUBMIT,
74
-            function (FormEvent $event) use ($currentUser) {
74
+            function(FormEvent $event) use ($currentUser) {
75 75
                 /** @var User $user */
76 76
                 $user = $event->getData();
77 77
                 $extraFields = $user->getExtrafields();
Please login to merge, or discard this patch.