Passed
Push — developer ( d5343a...b22e29 )
by Mariusz
18:12
created
config/Components/ConfigTemplates.php 1 patch
Spacing   +3 added lines, -3 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
 			},
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
 		'advancedFormat' => [
388 388
 			'default' => new \Nette\PhpGenerator\PhpLiteral('\libphonenumber\PhoneNumberFormat::INTERNATIONAL'),
389 389
 			'description' => "Phone number display format. Values:\nfalse - formatting is disabled \n\\libphonenumber\\PhoneNumberFormat::E164 (0) - `+48446681800`, `+48884998123`\n\\libphonenumber\\PhoneNumberFormat::INTERNATIONAL (1) - `+48 44 668 18 00`, `+48 884 998 123`\n\\libphonenumber\\PhoneNumberFormat::NATIONAL (2) - `44 668 18 00`, `884 998 123`\n\\libphonenumber\\PhoneNumberFormat::RFC3966 (3) - `tel:+48-44-668-18-00`, `tel:+48-884-998-123`.",
390
-			'validation' => function () {
390
+			'validation' => function() {
391 391
 				return \in_array(func_get_arg(0), [
392 392
 					false,
393 393
 					\libphonenumber\PhoneNumberFormat::E164,
Please login to merge, or discard this patch.