Passed
Branch master (8f5e6a)
by Felipe
06:03
created
Examples/examples_gantt/ganttcsimex02.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,13 +5,13 @@
 block discarded – undo
5 5
 require_once('jpgraph/jpgraph_gantt.php');
6 6
 
7 7
 $data = array(
8
-  array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",'',
8
+    array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",'',
9 9
     '#1','Go home'),
10
-  array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-16",'ab,cd',
10
+    array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-16",'ab,cd',
11 11
     '#2','Go home'),
12
-  array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",'ek',
12
+    array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",'ek',
13 13
     '#3','Go home'),
14
-  array(3,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2',
14
+    array(3,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2',
15 15
     '#4','Go home') );
16 16
 
17 17
 // The constrains between the activities
Please login to merge, or discard this patch.
Examples/examples_gantt/ganttconstrainex1.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 // The data for the graphs
8 8
 //
9 9
 $data = array(
10
-  array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",''),
11
-  array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-16",''),
12
-  array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",''),
13
-  array(3,ACTYPE_NORMAL,   "  Label 4",      "2001-11-20","2001-11-22",''),
14
-  array(4,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2') );
10
+    array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",''),
11
+    array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-16",''),
12
+    array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",''),
13
+    array(3,ACTYPE_NORMAL,   "  Label 4",      "2001-11-20","2001-11-22",''),
14
+    array(4,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2') );
15 15
 
16 16
 // The constrains between the activities
17 17
 $constrains = array(array(1,2,CONSTRAIN_ENDEND),
Please login to merge, or discard this patch.
Examples/examples_gantt/ganttmonthyearex3.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
 // Data for our example activities
40 40
 $data = array(
41 41
     array(0,array("","Pre-study","102 days","23 Nov '01","1 Mar '02")
42
-          , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
42
+            , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
43 43
     array(1,array("","Prototype","21 days","26 Oct '01","16 Nov '01"),
44
-          "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
44
+            "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
45 45
     array(2,array("","Report","12 days","1 Mar '02","13 Mar '02"),
46
-          "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
46
+            "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
47 47
 );
48 48
     
49 49
 // Create the bars and add them to the gantt chart
Please login to merge, or discard this patch.
Examples/examples_gantt/ganttmonthyearex4.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,11 +44,11 @@
 block discarded – undo
44 44
 // Data for our example activities
45 45
 $data = array(
46 46
     array(0,array("Pre-study","102 days","23 Nov '01","1 Mar '02")
47
-          , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
47
+            , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
48 48
     array(1,array("Prototype","21 days","26 Oct '01","16 Nov '01"),
49
-          "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
49
+            "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
50 50
     array(2,array("Report","12 days","1 Mar '02","13 Mar '02"),
51
-          "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
51
+            "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
52 52
 );
53 53
 
54 54
 // Create the bars and add them to the gantt chart
Please login to merge, or discard this patch.
Examples/examples_gantt/ganttsimpleex1.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 // The data for the graphs
8 8
 //
9 9
 $data = array(
10
-  array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",''),
11
-  array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-13",'[KJ]'),
12
-  array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",'[EP]'),
13
-  array(3,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2') );
10
+    array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",''),
11
+    array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-13",'[KJ]'),
12
+    array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",'[EP]'),
13
+    array(3,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2') );
14 14
 
15 15
 // Create the basic graph
16 16
 $graph = new GanttGraph();
Please login to merge, or discard this patch.
Examples/examples_gantt/ganttconstrainex0.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
 // The data for the graphs
8 8
 //
9 9
 $data = array(
10
-  array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",''),
11
-  array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-16",''),
12
-  array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",''),
13
-  array(3,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2') );
10
+    array(0,ACTYPE_GROUP,    "Phase 1",        "2001-10-26","2001-11-23",''),
11
+    array(1,ACTYPE_NORMAL,   "  Label 2",      "2001-10-26","2001-11-16",''),
12
+    array(2,ACTYPE_NORMAL,   "  Label 3",      "2001-11-20","2001-11-22",''),
13
+    array(3,ACTYPE_MILESTONE,"  Phase 1 Done", "2001-11-23",'M2') );
14 14
 
15 15
 // The constrains between the activities
16 16
 //$constrains = array(array(1,2,CONSTRAIN_ENDSTART),
Please login to merge, or discard this patch.
Examples/examples_gantt/ganttmonthyearex2.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
 // Data for our example activities
40 40
 $data = array(
41 41
     array(0,array("Pre-study","102 days","23 Nov '01","1 Mar '02")
42
-          , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
42
+            , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
43 43
     array(1,array("Prototype","21 days","26 Oct '01","16 Nov '01"),
44
-          "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
44
+            "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
45 45
     array(2,array("Report","12 days","1 Mar '02","13 Mar '02"),
46
-          "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
46
+            "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
47 47
 );
48 48
     
49 49
 // Create the bars and add them to the gantt chart
Please login to merge, or discard this patch.
Examples/examples_gantt/gantticonex1.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,11 +49,11 @@
 block discarded – undo
49 49
 // Store the icons in the first column and use plain text in the others
50 50
 $data = array(
51 51
     array(0,array($erricon,"Pre-study","102 days","23 Nov '01","1 Mar '02")
52
-          , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
52
+            , "2001-11-23","2002-03-1",FF_ARIAL,FS_NORMAL,8),
53 53
     array(1,array($startconicon,"Prototype","21 days","26 Oct '01","16 Nov '01"),
54
-          "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
54
+            "2001-10-26","2001-11-16",FF_ARIAL,FS_NORMAL,8),
55 55
     array(2,array($endconicon,"Report","12 days","1 Mar '02","13 Mar '02"),
56
-          "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
56
+            "2002-03-01","2002-03-13",FF_ARIAL,FS_NORMAL,8)
57 57
 );
58 58
 
59 59
 // Create the bars and add them to the gantt chart
Please login to merge, or discard this patch.
Examples/examples_tables/tableex02.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
 $cols = 4;
7 7
 $rows = 3;
8 8
 $data = array( array('','Jan','Feb','Mar','Apr'),
9
-           array('Min','15.2', '12.5', '9.9', '70.0'),
10
-           array('Max','23.9', '14.2', '18.6', '71.3'));
9
+            array('Min','15.2', '12.5', '9.9', '70.0'),
10
+            array('Max','23.9', '14.2', '18.6', '71.3'));
11 11
 
12 12
 $graph = new CanvasGraph(300, 200);
13 13
 
Please login to merge, or discard this patch.