Test Setup Failed
Push — master ( 12c298...4a14e0 )
by Ralf
22:03
created
filemanager/inc/class.filemanager_ui.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1420,7 +1420,7 @@
 block discarded – undo
1420 1420
 					if (Vfs::file_exists($target) && $app_dir)
1421 1421
 					{
1422 1422
 						if (!Vfs::file_exists($app_dir)) Vfs::mkdir($app_dir);
1423
-						error_log("Symlinking $target to $app_dir");
1423
+						error_log("symlinking $target to $app_dir");
1424 1424
 						Vfs::symlink($target, Vfs::concat($app_dir,Vfs::encodePathComponent($file['name'])));
1425 1425
 					}
1426 1426
 				}
Please login to merge, or discard this patch.
filemanager/inc/class.filemanager_favorite_portlet.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 	 * Construct the portlet
24 24
 	 *
25 25
 	 */
26
-	public function __construct(Array &$context = array(), &$need_reload = false)
26
+	public function __construct(array &$context = array(), &$need_reload = false)
27 27
 	{
28 28
 		$context['appname'] = 'filemanager';
29 29
 
Please login to merge, or discard this patch.
filemanager/cli.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -381,13 +381,13 @@  discard block
 block discarded – undo
381 381
 									if (!($owner = $GLOBALS['egw']->accounts->name2id($owner_was=$owner,'account_lid',$type[0])) ||
382 382
 										($owner < 0) != ($cmd == 'chgrp'))
383 383
 									{
384
-										die("Unknown $type '$owner_was'!");
384
+										die("unknown $type '$owner_was'!");
385 385
 									}
386 386
 								}
387 387
 								elseif($owner && is_object($GLOBALS['egw']) && (!$GLOBALS['egw']->accounts->id2name($owner) ||
388 388
 										($owner < 0) != ($cmd == 'chgrp')))
389 389
 								{
390
-									die("Unknown $type '$owner_was'!");
390
+									die("unknown $type '$owner_was'!");
391 391
 								}
392 392
 							}
393 393
 							$params = array($url,$owner);
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
 					{
446 446
 						if (!($f = fopen($url,'r')))
447 447
 						{
448
-							echo "File $url not found !!!\n\n";
448
+							echo "file $url not found !!!\n\n";
449 449
 						}
450 450
 						else
451 451
 						{
@@ -761,7 +761,7 @@  discard block
 block discarded – undo
761 761
 	}
762 762
 	if (!($from_fp = fopen($from,'r')))
763 763
 	{
764
-		die("File $from not found!\n");
764
+		die("file $from not found!\n");
765 765
 	}
766 766
 	if (!($to_fp = fopen($to,'w')))
767 767
 	{
Please login to merge, or discard this patch.
calendar/sitemgr/class.module_calendar_planner.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@
 block discarded – undo
327 327
 			// rest of the calendar app is probably missing.
328 328
 			foreach($search_params['owner'] as $owner)
329 329
 			{
330
-				$sel_options['owner'][] = Array(
330
+				$sel_options['owner'][] = array(
331 331
 					'id' => $owner,
332 332
 					'value' => $owner,
333 333
 					'label' => calendar_owner_etemplate_widget::get_owner_label($owner)
Please login to merge, or discard this patch.
calendar/sitemgr/class.module_calendar_month.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
 		}
253 253
 
254 254
 		// set the search parameters
255
-		$search_params = Array
255
+		$search_params = array
256 256
 		(
257 257
 			'offset' => false,
258 258
 			'order' => 'cal_start ASC',
Please login to merge, or discard this patch.
calendar/sitemgr/class.module_calendar_list.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
 		}
281 281
 
282 282
 		// set the search parameters
283
-		$search_params = Array
283
+		$search_params = array
284 284
 		(
285 285
 			'offset' => $arguments['entryOffset'] ? (int) $arguments['entryOffset'] : false,
286 286
 			'order' => 'cal_start ASC',
Please login to merge, or discard this patch.
calendar/setup/tables_update.inc.php 1 patch
Upper-Lower-Casing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 		{
33 33
 			$GLOBALS['egw_setup']->oProc->query("SELECT account_id FROM $acctstbl WHERE account_lid='".$owner[$i]."'");
34 34
 			$GLOBALS['egw_setup']->oProc->next_record();
35
-			$GLOBALS['egw_setup']->oProc->query("UPDATE $table SET $field=".$GLOBALS['egw_setup']->oProc->f('account_id')." WHERE $field='".$owner[$i]."'");
35
+			$GLOBALS['egw_setup']->oProc->query("update $table SET $field=".$GLOBALS['egw_setup']->oProc->f('account_id')." WHERE $field='".$owner[$i]."'");
36 36
 		}
37 37
 	}
38 38
 	$GLOBALS['egw_setup']->oProc->AlterColumn($table, $field, array('type' => 'int', 'precision' => 4, 'nullable' => false, 'default' => 0));
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	$db2 = clone($GLOBALS['egw_setup']->db);
189 189
 
190 190
 	$GLOBALS['egw_setup']->oProc->CreateTable('calendar_entry',
191
-		Array(
191
+		array(
192 192
 			'fd' => array(
193 193
 				'cal_id' => array('type' => 'auto', 'nullable' => false),
194 194
 				'cal_owner' => array('type' => 'int', 'precision' => 4, 'nullable' => false, 'default' => '0'),
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 	$GLOBALS['egw_setup']->oProc->DropTable('webcal_entry');
239 239
 
240 240
 	$GLOBALS['egw_setup']->oProc->CreateTable('calendar_entry_user',
241
-		Array(
241
+		array(
242 242
 			'fd' => array(
243 243
 				'cal_id' => array('type' => 'int', 'precision' => 4, 'nullable' => false, 'default' => '0'),
244 244
 				'cal_login' => array('type' => 'int', 'precision' => 4, 'nullable' => false, 'default' => '0'),
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 	$GLOBALS['egw_setup']->oProc->DropTable('webcal_entry_user');
269 269
 
270 270
 	$GLOBALS['egw_setup']->oProc->CreateTable('calendar_entry_repeats',
271
-		Array(
271
+		array(
272 272
 			'fd' => array(
273 273
 				'cal_id' => array('type' => 'int', 'precision' => 4, 'default' => '0', 'nullable' => false),
274 274
 				'cal_type' => array('type' => 'varchar', 'precision' => 20, 'default' => 'daily', 'nullable' => false),
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
 	}
311 311
 
312 312
 	$GLOBALS['egw_setup']->oProc->DropTable('webcal_entry_repeats');
313
-	$GLOBALS['egw_setup']->oProc->query("UPDATE {$GLOBALS['egw_setup']->applications_table} SET app_tables='calendar_entry,calendar_entry_user,calendar_entry_repeats' WHERE app_name='calendar'",__LINE__,__FILE__);
313
+	$GLOBALS['egw_setup']->oProc->query("update {$GLOBALS['egw_setup']->applications_table} SET app_tables='calendar_entry,calendar_entry_user,calendar_entry_repeats' WHERE app_name='calendar'",__LINE__,__FILE__);
314 314
 
315 315
 	$GLOBALS['setup_info']['calendar']['currentver'] = '0.9.7pre2';
316 316
 	return $GLOBALS['setup_info']['calendar']['currentver'];
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
 
603 603
 // calendar_entry => phpgw_cal
604 604
 	$GLOBALS['egw_setup']->oProc->CreateTable('phpgw_cal',
605
-		Array(
605
+		array(
606 606
 			'fd' => array(
607 607
 				'cal_id' => array('type' => 'auto', 'nullable' => False),
608 608
 				'owner' => array('type' => 'int', 'precision' => 8, 'nullable' => False),
@@ -658,7 +658,7 @@  discard block
 block discarded – undo
658 658
 
659 659
 // calendar_entry_repeats => phpgw_cal_repeats
660 660
 	$GLOBALS['egw_setup']->oProc->CreateTable('phpgw_cal_repeats',
661
-		Array(
661
+		array(
662 662
 			'fd' => array(
663 663
 				'cal_id' => array('type' => 'int', 'precision' => 8,'nullable' => False),
664 664
 				'recur_type' => array('type' => 'int', 'precision' => 8,'nullable' => False),
@@ -731,7 +731,7 @@  discard block
 block discarded – undo
731 731
 function calendar_upgrade0_9_11_003()
732 732
 {
733 733
 	$GLOBALS['egw_setup']->oProc->CreateTable('phpgw_cal_holidays',
734
-		Array(
734
+		array(
735 735
 			'fd' => array(
736 736
 				'locale' => array('type' => 'char', 'precision' => 2,'nullable' => False),
737 737
 				'name' => array('type' => 'varchar', 'precision' => 50,'nullable' => False),
@@ -767,7 +767,7 @@  discard block
 block discarded – undo
767 767
 {
768 768
 	$GLOBALS['egw_setup']->oProc->DropTable('phpgw_cal_holidays');
769 769
 	$GLOBALS['egw_setup']->oProc->CreateTable('phpgw_cal_holidays',
770
-		Array(
770
+		array(
771 771
 			'fd' => array(
772 772
 				'hol_id' => array('type' => 'auto','nullable' => False),
773 773
 				'locale' => array('type' => 'char', 'precision' => 2,'nullable' => False),
@@ -854,7 +854,7 @@  discard block
 block discarded – undo
854 854
 function calendar_upgrade0_9_13_003()
855 855
 {
856 856
 	$GLOBALS['egw_setup']->oProc->CreateTable('phpgw_cal_alarm',
857
-		Array(
857
+		array(
858 858
 			'fd' => array(
859 859
 				'alarm_id' => array('type' => 'auto','nullable' => False),
860 860
 				'cal_id'   => array('type' => 'int', 'precision' => 8, 'nullable' => False),
@@ -888,7 +888,7 @@  discard block
 block discarded – undo
888 888
 
889 889
 function calendar_upgrade0_9_13_005()
890 890
 {
891
-	$calendar_data = Array();
891
+	$calendar_data = array();
892 892
 	$GLOBALS['egw_setup']->oProc->query('SELECT cal_id, category FROM phpgw_cal',__LINE__,__FILE__);
893 893
 	while($GLOBALS['egw_setup']->oProc->next_record())
894 894
 	{
Please login to merge, or discard this patch.
calendar/inc/class.calendar_import_csv.inc.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 		$this->role_map = array_flip($this->bo->roles);
58 58
 
59 59
 		$this->lookups = array(
60
-			'priority'	=> Array(
60
+			'priority'	=> array(
61 61
 				0 => lang('None'),
62 62
 				1 => lang('Low'),
63 63
 				2 => lang('Normal'),
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	 *
238 238
 	 * @return boolean
239 239
 	 */
240
-	protected function exists(importexport_iface_egw_record &$record, Array &$condition, &$records = array())
240
+	protected function exists(importexport_iface_egw_record &$record, array &$condition, &$records = array())
241 241
 	{
242 242
 		if($record->__get($condition['string']) && $condition['string'] == 'id') {
243 243
 			$event = $this->bo->read($record->__get($condition['string']));
Please login to merge, or discard this patch.
calendar/inc/class.calendar_owner_etemplate_widget.inc.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 			$value = $value_in =& self::get_array($content, $form_name);
112 112
 			if(!is_array($value))
113 113
 			{
114
-				$value = Array($value);
114
+				$value = array($value);
115 115
 			}
116 116
 
117 117
 			$valid =& self::get_array($validated, $form_name, true);
Please login to merge, or discard this patch.