Completed
Pull Request — 1.11.x (#1622)
by José
95:13 queued 68:43
created
src/Chamilo/CoreBundle/Entity/Repository/SequenceRepository.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function findRequirementForResource($resourceId, $type)
27 27
     {
28
-  /*      $criteria = Criteria::create()
28
+    /*      $criteria = Criteria::create()
29 29
             ->where(Criteria::expr()->eq("resourceId", $resourceId))
30 30
             ->andWhere(Criteria::expr()->eq("type", $type));
31 31
 */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             foreach ($from as $subVertex) {
53 53
                 $vertexId = $subVertex->getId();
54 54
                 $sessionInfo = api_get_session_info($vertexId);
55
-                $sessionInfo['admin_link'] = '<a href="' . \SessionManager::getAdminPath($vertexId) . '">' . $sessionInfo['name'] . '</a>';
55
+                $sessionInfo['admin_link'] = '<a href="'.\SessionManager::getAdminPath($vertexId).'">'.$sessionInfo['name'].'</a>';
56 56
                 $result['requirements'][] = $sessionInfo;
57 57
             }
58 58
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             foreach ($to as $subVertex) {
61 61
                 $vertexId = $subVertex->getId();
62 62
                 $sessionInfo = api_get_session_info($vertexId);
63
-                $sessionInfo['admin_link'] = '<a href="' . \SessionManager::getAdminPath($vertexId) . '">' . $sessionInfo['name'] . '</a>';
63
+                $sessionInfo['admin_link'] = '<a href="'.\SessionManager::getAdminPath($vertexId).'">'.$sessionInfo['name'].'</a>';
64 64
                 $result['dependencies'][] = $sessionInfo;
65 65
             }
66 66
         }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      *
76 76
      * @param int $resourceId
77 77
      * @param int $type
78
-     * @return boolean
78
+     * @return boolean|null
79 79
      */
80 80
     public function deleteResource($resourceId, $type)
81 81
     {
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Entity/ExtraFieldOptionRelFieldOption.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected $relatedFieldOptionId;
44 44
 
45
-     /**
46
-     * @var integer
47
-     *
48
-     * @ORM\Column(name="role_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
49
-     */
45
+        /**
46
+         * @var integer
47
+         *
48
+         * @ORM\Column(name="role_id", type="integer", precision=0, scale=0, nullable=true, unique=false)
49
+         */
50 50
     protected $roleId;
51 51
 
52 52
     /**
@@ -128,12 +128,12 @@  discard block
 block discarded – undo
128 128
         return $this->relatedFieldOptionId;
129 129
     }
130 130
 
131
-     /**
132
-     * Set roleId
133
-     *
134
-     * @param integer $roleId
135
-     * @return ExtraFieldOptionRelFieldOption
136
-     */
131
+        /**
132
+         * Set roleId
133
+         *
134
+         * @param integer $roleId
135
+         * @return ExtraFieldOptionRelFieldOption
136
+         */
137 137
     public function setRoleId($roleId)
138 138
     {
139 139
         $this->roleId = $roleId;
Please login to merge, or discard this patch.
plugin/formLogin_hide_unhide/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-$_template['show_message']   = false;
3
+$_template['show_message'] = false;
4 4
 
5 5
 if (api_is_anonymous()) {
6
-    $_template['show_message']   = true;
6
+    $_template['show_message'] = true;
7 7
     // the default title label
8 8
     $label = "Connexion hors compte universitaire";
9 9
     if (!empty($plugin_info['settings']['formLogin_hide_unhide_label'])) {
Please login to merge, or discard this patch.
plugin/formLogin_hide_unhide/plugin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  */
11 11
 
12 12
 //the plugin title
13
-$plugin_info['title']      = 'Hide/Unhide the Login/Password default form';
13
+$plugin_info['title'] = 'Hide/Unhide the Login/Password default form';
14 14
 
15 15
 //the comments that go with the plugin
16 16
 $plugin_info['comment']     = "If you use another way of authentication than local, you may want to hide the Login/Password default Form to avoid users mistakes. This plugin replace the Login/Password form with a text that unhide the Login/Password form if you click on it.";
@@ -31,4 +31,4 @@  discard block
 block discarded – undo
31 31
 $plugin_info['settings_form'] = $form;
32 32
 
33 33
 //set the templates that are going to be used
34
-$plugin_info['templates']   = array('template.tpl');
34
+$plugin_info['templates'] = array('template.tpl');
Please login to merge, or discard this patch.
plugin/createdrupaluser/src/HookCreateDrupalUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         $data = $hook->getEventData();
30 30
 
31 31
         $drupalDomain = CreateDrupalUser::create()->get('drupal_domain');
32
-        $drupalDomain = rtrim($drupalDomain, '/') . '/';
32
+        $drupalDomain = rtrim($drupalDomain, '/').'/';
33 33
 
34 34
         if ($data['type'] === HOOK_EVENT_TYPE_POST) {
35 35
             $return = $data['return'];
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             );
51 51
 
52 52
             $options = array(
53
-                'location' => $drupalDomain . 'sites/all/modules/chamilo/soap.php?wsdl',
53
+                'location' => $drupalDomain.'sites/all/modules/chamilo/soap.php?wsdl',
54 54
                 'uri' => $drupalDomain
55 55
             );
56 56
 
Please login to merge, or discard this patch.
plugin/createdrupaluser/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,4 +5,4 @@
 block discarded – undo
5 5
  * @author Angel Fernando Quiroz Campos <[email protected]>
6 6
  * @package chamilo.plugin.createDrupalUser
7 7
  */
8
-require_once __DIR__ . '/config.php';
8
+require_once __DIR__.'/config.php';
Please login to merge, or discard this patch.
plugin/createdrupaluser/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,4 +6,4 @@
 block discarded – undo
6 6
  * @package chamilo.plugin.createDrupalUser
7 7
  */
8 8
 
9
-require_once api_get_path(SYS_PATH) . 'main/inc/global.inc.php';
9
+require_once api_get_path(SYS_PATH).'main/inc/global.inc.php';
Please login to merge, or discard this patch.
plugin/createdrupaluser/uninstall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
  * @author Angel Fernando Quiroz Campos <[email protected]>
6 6
  * @package chamilo.plugin.createDrupalUser
7 7
  */
8
-require_once __DIR__ . '/config.php';
8
+require_once __DIR__.'/config.php';
9 9
 
10 10
 CreateDrupalUser::create()->uninstall();
Please login to merge, or discard this patch.
plugin/createdrupaluser/install.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,6 +5,6 @@
 block discarded – undo
5 5
  * @author Angel Fernando Quiroz Campos <[email protected]>
6 6
  * @package chamilo.plugin.createDrupalUser
7 7
  */
8
-require_once __DIR__ . '/config.php';
8
+require_once __DIR__.'/config.php';
9 9
 
10 10
 CreateDrupalUser::create()->install();
Please login to merge, or discard this patch.