Passed
Pull Request — developer (#16144)
by Arkadiusz
17:14
created
app/Utils/Completions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	public static function decodeCustomTag(string $text): string
108 108
 	{
109 109
 		if (false !== strpos($text, '<yetiforce')) {
110
-			$text = preg_replace_callback('/<yetiforce\s(.*)><\/yetiforce>/', function (array $matches) {
110
+			$text = preg_replace_callback('/<yetiforce\s(.*)><\/yetiforce>/', function(array $matches) {
111 111
 				$attributes = \App\TextUtils::getTagAttributes($matches[0]);
112 112
 				$return = '';
113 113
 				if (!empty($attributes['type'])) {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 		);
145 145
 		return \preg_replace_callback(
146 146
 			static::ROW_REGEX,
147
-			function (array $matches) {
147
+			function(array $matches) {
148 148
 				$type = $matches[1];
149 149
 				$id = (int) $matches[2];
150 150
 				if (self::OWNER_SEPARATOR === $type) {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	{
203 203
 		return \preg_replace_callback(
204 204
 			"/<a\\s+[^>]*data-id=(?:\"|')(.)(\\d+)(?:\"|')[^>]*>[^<]+<\\/a>/i",
205
-			function (array $matches) {
205
+			function(array $matches) {
206 206
 				$type = $matches[1];
207 207
 				$recordName = strip_tags($matches[0]);
208 208
 				return "{$type}{$type}{$matches[2]}_{$recordName}{$type}{$type}";
Please login to merge, or discard this patch.
config/Components/ConfigTemplates.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 		'BACKUP_PATH' => [
92 92
 			'default' => '',
93 93
 			'description' => 'Backup catalog path.',
94
-			'validation' => function () {
94
+			'validation' => function() {
95 95
 				$arg = func_get_arg(0);
96 96
 				return '' === $arg || \App\Fields\File::isAllowedDirectory($arg);
97 97
 			},
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
 		'watchdogUrl' => [
204 204
 			'default' => '',
205 205
 			'description' => 'YetiForce watchdog monitor URL',
206
-			'validation' => function () {
206
+			'validation' => function() {
207 207
 				$arg = func_get_arg(0);
208 208
 				return empty($arg) || \App\Validator::url($arg);
209 209
 			},
Please login to merge, or discard this patch.
modules/Settings/PickListDependency/models/Record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
 		} else {
299 299
 			$tabId = $this->get('tabid');
300 300
 		}
301
-		$fieldNames = [$this->get('source_field'), $this->get('second_field'), $this->get('third_field')];  //puste thirdfield?
301
+		$fieldNames = [$this->get('source_field'), $this->get('second_field'), $this->get('third_field')]; //puste thirdfield?
302 302
 		$dataReader = (new App\Db\Query())->select(['fieldlabel', 'fieldname'])
303 303
 			->from('vtiger_field')
304 304
 			->where(['fieldname' => $fieldNames, 'tabid' => $tabId])
Please login to merge, or discard this patch.