Test Setup Failed
Pull Request — developer (#17250)
by Arkadiusz
16:07
created
app/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
 		if (static::$clearOpcache) {
192 192
 			return false;
193 193
 		}
194
-		register_shutdown_function(function () {
194
+		register_shutdown_function(function() {
195 195
 			try {
196 196
 				static::resetOpcache();
197 197
 			} catch (\Throwable $e) {
Please login to merge, or discard this patch.
app/Utils/Benchmarks.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
 				'time' => (int) ($readOperations / (microtime(true) - $timeStart)),
194 194
 			];
195 195
 		}
196
-		register_shutdown_function(function () {
196
+		register_shutdown_function(function() {
197 197
 			try {
198 198
 				\vtlib\Functions::recurseDelete('cache/speed');
199 199
 			} catch (\Throwable $e) {
Please login to merge, or discard this patch.
app/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	{
77 77
 		$entity = static::getEntitiesInfo();
78 78
 		if ($sort) {
79
-			usort($entity, function ($a, $b) {
79
+			usort($entity, function($a, $b) {
80 80
 				return $a['sequence'] < $b['sequence'] ? -1 : 1;
81 81
 			});
82 82
 		}
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
 			Log::error("The file $filename does not exist");
285 285
 		}
286 286
 		static::initFromDb();
287
-		register_shutdown_function(function () {
287
+		register_shutdown_function(function() {
288 288
 			try {
289 289
 				YetiForce\Shop::generateCache();
290 290
 			} catch (\Throwable $e) {
Please login to merge, or discard this patch.
modules/OSSMail/models/Record.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
 					->execute();
179 179
 			}
180 180
 			\App\Log::trace('Exit OSSMail_Record_Model::imapConnect() method ...');
181
-			register_shutdown_function(function () use ($mbox, $user) {
181
+			register_shutdown_function(function() use ($mbox, $user) {
182 182
 				try {
183 183
 					\App\Log::beginProfile('OSSMail_Record_Model|imap_close|' . $user, 'Mail|IMAP');
184 184
 					imap_close($mbox);
Please login to merge, or discard this patch.
modules/OSSMail/models/Mail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 class OSSMail_Mail_Model extends \App\Base
17 17
 {
18 18
 	/** @var string[] Ignored mail addresses */
19
-	public const IGNORED_MAILS = ['@', 'undisclosed-recipients',  'Undisclosed-recipients', 'undisclosed-recipients@', 'Undisclosed-recipients@', 'Undisclosed recipients@,@', 'undisclosed recipients@,@'];
19
+	public const IGNORED_MAILS = ['@', 'undisclosed-recipients', 'Undisclosed-recipients', 'undisclosed-recipients@', 'Undisclosed-recipients@', 'Undisclosed recipients@,@', 'undisclosed recipients@,@'];
20 20
 
21 21
 	/** @var array Mail account. */
22 22
 	protected $mailAccount = [];
Please login to merge, or discard this patch.
modules/Settings/AutomaticAssignment/models/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	public $customFieldTable = ['s_#__auto_assign_users' => 'id', 's_#__auto_assign_groups' => 'id', 's_#__auto_assign_roles' => 'id'];
19 19
 
20 20
 	/** {@inheritdoc} */
21
-	public $listFields = ['subject' => 'FL_SUBJECT', 'tabid' => 'FL_MODULE',  'state' => 'FL_STATE'];
21
+	public $listFields = ['subject' => 'FL_SUBJECT', 'tabid' => 'FL_MODULE', 'state' => 'FL_STATE'];
22 22
 
23 23
 	/** {@inheritdoc} */
24 24
 	public $name = 'AutomaticAssignment';
Please login to merge, or discard this patch.
vtlib/Vtiger/PackageImport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
 		$this->importCustomLinks($this->_modulexml, $moduleInstance);
657 657
 		$this->importCronTasks($this->_modulexml);
658 658
 		Module::fireEvent($moduleInstance->name, Module::EVENT_MODULE_POSTINSTALL);
659
-		register_shutdown_function(function () {
659
+		register_shutdown_function(function() {
660 660
 			try {
661 661
 				chdir(ROOT_DIRECTORY);
662 662
 				(new \App\BatchMethod(['method' => '\App\UserPrivilegesFile::recalculateAll', 'params' => []]))->save();
@@ -1154,7 +1154,7 @@  discard block
 block discarded – undo
1154 1154
 			$db->createCommand()->update('vtiger_version', ['current_version' => (string) $this->_modulexml->to_version])->execute();
1155 1155
 		}
1156 1156
 		Functions::recurseDelete($dirName);
1157
-		register_shutdown_function(function () {
1157
+		register_shutdown_function(function() {
1158 1158
 			try {
1159 1159
 				Functions::recurseDelete('cache/templates_c');
1160 1160
 			} catch (\Exception $e) {
Please login to merge, or discard this patch.
config/csrf_config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	{
19 19
 		//Override the default expire time of token
20 20
 		\CsrfMagic\Csrf::$expires = \App\Config::security('csrfLifetimeToken', 7200);
21
-		\CsrfMagic\Csrf::$callback = function ($tokens) {
21
+		\CsrfMagic\Csrf::$callback = function($tokens) {
22 22
 			throw new \App\Exceptions\Csrf('Invalid request - Response For Illegal Access', 403);
23 23
 		};
24 24
 		$js = 'vendor/yetiforce/csrf-magic/src/Csrf.min.js';
Please login to merge, or discard this patch.
modules/com_vtiger_workflow/tasks/VTEmailTemplateTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 				}
50 50
 			}
51 51
 			if ($this->relations_email && '-' !== $this->relations_email) {
52
-				[$relatedModule,$relatedFieldName,$onlyFirst] = array_pad(explode('::', $this->relations_email), 3, false);
52
+				[$relatedModule, $relatedFieldName, $onlyFirst] = array_pad(explode('::', $this->relations_email), 3, false);
53 53
 				$relationListView = Vtiger_RelationListView_Model::getInstance($recordModel, $relatedModule);
54 54
 				$relationListView->setFields(['id', $relatedFieldName]);
55 55
 				$relationListView->set('search_key', $relatedFieldName);
Please login to merge, or discard this patch.