Completed
Pull Request — developer (#8033)
by Sławomir
176:12 queued 134:13
created
config/config.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
 // maximum file size for uploaded files in bytes also used when uploading import files
75 75
 // upload_maxsize default value = 3000000
76
-$upload_maxsize = 52428800;  // 50MB
76
+$upload_maxsize = 52428800; // 50MB
77 77
 // flag to allow export functionality
78 78
 // 'all' to allow anyone to use exports
79 79
 // 'admin' to only allow admins to export
Please login to merge, or discard this patch.
public_html/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require './index.php';
Please login to merge, or discard this patch.
public_html/webservice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @copyright YetiForce Sp. z o.o
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'webservice.php';
Please login to merge, or discard this patch.
public_html/cron.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @copyright YetiForce Sp. z o.o
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'cron.php';
Please login to merge, or discard this patch.
public_html/dav.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @copyright YetiForce Sp. z o.o
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'dav.php';
Please login to merge, or discard this patch.
public_html/file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,6 +6,6 @@
 block discarded – undo
6 6
  * @license YetiForce Public License 3.0 (licenses/LicenseEN.txt or yetiforce.com)
7 7
  * @author Mariusz Krzaczkowski <[email protected]>
8 8
  */
9
-chdir(__DIR__.'/../');
9
+chdir(__DIR__ . '/../');
10 10
 define('IS_PUBLIC_DIR', true);
11 11
 require 'file.php';
Please login to merge, or discard this patch.
modules/Vtiger/widgets/HistoryRelation.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
 
43 43
     public function getUrl()
44 44
     {
45
-        $url = 'module='.$this->Module.'&view=Detail&record='.$this->Record.'&mode=showRecentRelation&page=1&limit='.$this->Data['limit'];
45
+        $url = 'module=' . $this->Module . '&view=Detail&record=' . $this->Record . '&mode=showRecentRelation&page=1&limit=' . $this->Data['limit'];
46 46
         foreach (self::getActions() as $type) {
47
-            $url .= '&type[]='.$type;
47
+            $url .= '&type[]=' . $type;
48 48
         }
49 49
 
50 50
         return $url;
@@ -142,12 +142,12 @@  discard block
 block discarded – undo
142 142
                     'id' => 'vtiger_crmentity.crmid',
143 143
                     'content' => 'a.subject',
144 144
                     'user' => 'vtiger_crmentity.smownerid',
145
-                    'time' => new \yii\db\Expression('CONCAT(a.date_start, '.$db->quoteValue(' ').', a.time_start)'),
145
+                    'time' => new \yii\db\Expression('CONCAT(a.date_start, ' . $db->quoteValue(' ') . ', a.time_start)'),
146 146
                 ])
147 147
                 ->from('vtiger_activity a')
148 148
                 ->innerJoin('vtiger_crmentity', 'vtiger_crmentity.crmid = a.activityid')
149 149
                 ->where(['vtiger_crmentity.deleted' => 0])
150
-                ->andWhere(['=', 'a.'.$field, $recordId]);
150
+                ->andWhere(['=', 'a.' . $field, $recordId]);
151 151
             \App\PrivilegeQuery::getConditions($query, 'Calendar', false, $recordId);
152 152
             $queries[] = $query;
153 153
         }
Please login to merge, or discard this patch.
vtlib/Vtiger/Link.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 				if ($tabid === self::IGNORE_MODULE) {
184 184
 					$permittedTabIdList = \vtlib\Deprecated::getPermittedModuleIdList();
185 185
 					if (!empty($permittedTabIdList)) {
186
-						$permittedTabIdList[] = 0;  // Added to support one link for all modules
186
+						$permittedTabIdList[] = 0; // Added to support one link for all modules
187 187
 						foreach ($permittedTabIdList as $moduleId) {
188 188
 							foreach ($type as $typ) {
189 189
 								if (isset($rows[$moduleId][$typ])) {
Please login to merge, or discard this patch.
include/database/PearDatabase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -740,7 +740,7 @@
 block discarded – undo
740 740
 	public function generateQuestionMarks($items)
741 741
 	{
742 742
 		// array_map will call the function specified in the first parameter for every element of the list in second parameter
743
-		return implode(',', array_map(function ($a) {
743
+		return implode(',', array_map(function($a) {
744 744
 			return '?';
745 745
 		}, is_array($items) ? $items : explode(',', $items)));
746 746
 	}
Please login to merge, or discard this patch.