Passed
Pull Request — master (#21)
by Felipe
06:48 queued 03:16
created
src/graph/Graph.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     public $frame_weight; // Frame around graph
35 35
     public $boxed    = false;
36 36
     public $box_color    = 'black';
37
-    public $box_weight    = 1; // Box around plot area
37
+    public $box_weight = 1; // Box around plot area
38 38
     public $doshadow = false;
39 39
     public $shadow_width = 4;
40 40
     public $shadow_color = '[email protected]'; // Shadow for graph
@@ -57,21 +57,21 @@  discard block
 block discarded – undo
57 57
     public $bands                   = null;
58 58
     public $y2bands                   = null;
59 59
     public $text_scale_off          = 0;
60
-    public $text_scale_abscenteroff          = -1; // Text scale in fractions and for centering bars
60
+    public $text_scale_abscenteroff = -1; // Text scale in fractions and for centering bars
61 61
     public $background_image        = '';
62
-    public $background_image_type        = -1;
63
-    public $background_image_format        = "png";
62
+    public $background_image_type = -1;
63
+    public $background_image_format = "png";
64 64
     public $background_image_bright = 0;
65 65
     public $background_image_contr = 0;
66 66
     public $background_image_sat = 0;
67 67
     public $background_image_xpos   = 0;
68 68
     public $background_image_ypos   = 0;
69 69
     public $image_bright            = 0;
70
-    public $image_contr            = 0;
71
-    public $image_sat            = 0;
70
+    public $image_contr = 0;
71
+    public $image_sat = 0;
72 72
     public $inline;
73 73
     public $showcsim     = 0;
74
-    public $csimcolor     = "red"; //debug stuff, draw the csim boundaris on the image if <>0
74
+    public $csimcolor = "red"; //debug stuff, draw the csim boundaris on the image if <>0
75 75
     public $grid_depth   = DEPTH_BACK; // Draw grid under all plots as default
76 76
     public $iAxisStyle   = AXSTYLE_SIMPLE;
77 77
     public $iCSIMdisplay = false;
@@ -84,9 +84,9 @@  discard block
 block discarded – undo
84 84
     public $y2orderback   = true;
85 85
     public $tabtitle;
86 86
     public $bkg_gradtype  = -1;
87
-    public $bkg_gradstyle  = BGRAD_MARGIN;
87
+    public $bkg_gradstyle = BGRAD_MARGIN;
88 88
     public $bkg_gradfrom  = 'navy';
89
-    public $bkg_gradto  = 'silver';
89
+    public $bkg_gradto = 'silver';
90 90
     public $plot_gradtype = -1;
91 91
     public $plot_gradstyle = BGRAD_MARGIN;
92 92
     public $plot_gradfrom = 'silver';
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
     public $titlebackground       = false;
96 96
     public $titlebackground_color = 'lightblue';
97
-    public $titlebackground_style        = 1;
97
+    public $titlebackground_style = 1;
98 98
     public $titlebackground_framecolor;
99 99
     public $titlebackground_framestyle;
100 100
     public $titlebackground_frameweight;
@@ -114,13 +114,13 @@  discard block
 block discarded – undo
114 114
     public $background_cflag_mix  = 100;
115 115
     public $iImgTrans             = false;
116 116
     public $iImgTransHorizon             = 100;
117
-    public $iImgTransSkewDist             = 150;
117
+    public $iImgTransSkewDist = 150;
118 118
     public $iImgTransDirection           = 1;
119
-    public $iImgTransMinSize           = true;
119
+    public $iImgTransMinSize = true;
120 120
     public $iImgTransFillColor           = 'white';
121
-    public $iImgTransHighQ           = false;
121
+    public $iImgTransHighQ = false;
122 122
     public $iImgTransBorder              = false;
123
-    public $iImgTransHorizonPos              = 0.5;
123
+    public $iImgTransHorizonPos = 0.5;
124 124
     public $legend;
125 125
     public $graph_theme;
126 126
     protected $iYAxisDeltaPos = 50;
Please login to merge, or discard this patch.
src/graph/LinearScale.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     protected $autoscale_min = false; // Forced minimum value, auto determine max
31 31
     protected $autoscale_max = false; // Forced maximum value, auto determine min
32 32
     private $gracetop        = 0;
33
-    private $gracebottom        = 0;
33
+    private $gracebottom = 0;
34 34
 
35 35
     private $_world_size; // Plot area size in world coordinates
36 36
 
Please login to merge, or discard this patch.
src/graph/Ticks.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@  discard block
 block discarded – undo
15 15
     public $direction           = 1; // Should ticks be in(=1) the plot area or outside (=-1)
16 16
     public $supress_last        = false;
17 17
     public $supress_tickmarks        = false;
18
-    public $supress_minor_tickmarks        = false;
18
+    public $supress_minor_tickmarks = false;
19 19
     public $maj_ticks_pos       = array();
20 20
     public $maj_ticklabels_pos       = array();
21
-    public $ticks_pos                  = array();
22
-    public $maj_ticks_label                  = array();
21
+    public $ticks_pos = array();
22
+    public $maj_ticks_label = array();
23 23
     public $precision;
24 24
 
25 25
     protected $minor_abs_size = 3;
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     protected $scale;
28 28
     protected $is_set              = false;
29 29
     protected $supress_zerolabel   = false;
30
-    protected $supress_first   = false;
30
+    protected $supress_first = false;
31 31
     protected $mincolor            = '';
32 32
     protected $majcolor            = '';
33 33
     protected $weight              = 1;
Please login to merge, or discard this patch.
src/graph/Grid.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
     protected $majortype  = 'solid';
17 17
     protected $minortype  = 'solid';
18 18
     protected $show       = false;
19
-    protected $showMinor       = false;
19
+    protected $showMinor = false;
20 20
     protected $majorweight       = 1;
21 21
     protected $minorweight       = 1;
22
-    protected $fill       = false;
23
-    protected $fillcolor       = array('#EFEFEF', '#BBCCFF');
22
+    protected $fill = false;
23
+    protected $fillcolor = array('#EFEFEF', '#BBCCFF');
24 24
 
25 25
     public function __construct($aAxis)
26 26
     {
Please login to merge, or discard this patch.
src/graph/Legend.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 {
27 27
     public $txtcol          = [];
28 28
     public $font_family     = FF_DEFAULT;
29
-    public $font_style     = FS_NORMAL;
30
-    public $font_size     = 8; // old. 12
29
+    public $font_style = FS_NORMAL;
30
+    public $font_size = 8; // old. 12
31 31
     private $color          = [120, 120, 120]; // Default frame color
32 32
     private $fill_color     = [245, 245, 245]; // Default fill color
33 33
     private $shadow         = false; // Shadow around legend "box"
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     private $mark_abs_vsize = _DEFAULT_LPM_SIZE;
37 37
     private $xmargin        = 10;
38 38
     private $ymargin        = 0;
39
-    private $shadow_width        = 2;
39
+    private $shadow_width = 2;
40 40
     private $xlmargin       = 4;
41 41
     private $ylinespacing   = 5;
42 42
 
@@ -51,9 +51,9 @@  discard block
 block discarded – undo
51 51
     private $valign       = "top";
52 52
     private $font_color   = 'black';
53 53
     private $hide         = false;
54
-    private $layout_n         = 1;
54
+    private $layout_n = 1;
55 55
     private $weight       = 1;
56
-    private $frameweight       = 1;
56
+    private $frameweight = 1;
57 57
     private $csimareas    = '';
58 58
     private $reverse      = false;
59 59
     private $bkg_gradtype = -1;
Please login to merge, or discard this patch.
src/text/TextProperty.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,11 +9,11 @@
 block discarded – undo
9 9
 {
10 10
     public $iShow       = true;
11 11
     public $csimtarget  = '';
12
-    public $csimwintarget  = '';
13
-    public $csimalt  = '';
12
+    public $csimwintarget = '';
13
+    public $csimalt = '';
14 14
     private $iFFamily   = FF_FONT1;
15
-    private $iFStyle   = FS_NORMAL;
16
-    private $iFSize   = 10;
15
+    private $iFStyle = FS_NORMAL;
16
+    private $iFSize = 10;
17 17
     private $iFontArray = array();
18 18
     private $iColor     = "black";
19 19
     private $iText      = "";
Please login to merge, or discard this patch.
src/text/Text.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -22,26 +22,26 @@
 block discarded – undo
22 22
     public $y                  = 0;
23 23
     public $halign                  = "left";
24 24
     public $valign                  = "top";
25
-    public $color                  = array(0, 0, 0);
25
+    public $color = array(0, 0, 0);
26 26
     public $hide               = false;
27
-    public $dir               = 0;
27
+    public $dir = 0;
28 28
     public $iScalePosY         = null;
29 29
     public $iScalePosX         = null;
30 30
     public $iWordwrap          = 0;
31 31
     public $font_family        = FF_DEFAULT;
32
-    public $font_style        = FS_NORMAL; // old. FF_FONT1
32
+    public $font_style = FS_NORMAL; // old. FF_FONT1
33 33
     protected $boxed           = false; // Should the text be boxed
34 34
     protected $paragraph_align = "left";
35 35
     protected $icornerradius   = 0;
36
-    protected $ishadowwidth   = 3;
36
+    protected $ishadowwidth = 3;
37 37
     protected $fcolor          = 'white';
38 38
     protected $bcolor          = 'black';
39 39
     protected $shadow          = false;
40 40
     protected $iCSIMarea       = '';
41
-    protected $iCSIMalt       = '';
42
-    protected $iCSIMtarget       = '';
43
-    protected $iCSIMWinTarget       = '';
44
-    private $iBoxType          = 1; // Which variant of filled box around text we want
41
+    protected $iCSIMalt = '';
42
+    protected $iCSIMtarget = '';
43
+    protected $iCSIMWinTarget = '';
44
+    private $iBoxType = 1; // Which variant of filled box around text we want
45 45
 
46 46
     // for __get, __set
47 47
     private $_margin;
Please login to merge, or discard this patch.
src/text/CanvasRectangleText.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     private $ih;
15 15
     private $ir = 4;
16 16
     private $iTxt;
17
-    private $iColor          = 'black';
17
+    private $iColor = 'black';
18 18
     private $iFillColor          = '';
19 19
     private $iFontColor          = 'black';
20 20
     private $iParaAlign             = 'center';
Please login to merge, or discard this patch.
src/text/GTextTableCell.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,19 +30,19 @@  discard block
 block discarded – undo
30 30
     public $iColSpan       = 1;
31 31
     public $iRowSpan       = 1;
32 32
     public $iMarginLeft    = 5;
33
-    public $iMarginRight    = 5;
34
-    public $iMarginTop    = 5;
33
+    public $iMarginRight = 5;
34
+    public $iMarginTop = 5;
35 35
     public $iMarginBottom    = 5;
36 36
     public $iVal           = null;
37 37
     private $iBGColor      = '';
38 38
     private $iFontColor      = 'black';
39 39
     private $iFF           = FF_FONT1;
40 40
     private $iFS           = FS_NORMAL;
41
-    private $iFSize           = 10;
41
+    private $iFSize = 10;
42 42
     private $iRow          = 0;
43 43
     private $iCol          = 0;
44 44
     private $iVertAlign    = 'bottom';
45
-    private $iHorAlign    = 'left';
45
+    private $iHorAlign = 'left';
46 46
     private $iMerged       = false;
47 47
     private $iPRow       = null;
48 48
     private $iPCol       = null;
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
     private $iGridStyle    = array(TGRID_SINGLE, TGRID_SINGLE, TGRID_SINGLE, TGRID_SINGLE); // left,top,bottom,right;
53 53
     private $iNumberFormat = null;
54 54
     private $iIcon         = null;
55
-    private $iIconConstrain         = array();
55
+    private $iIconConstrain = array();
56 56
     private $iCSIMtarget   = '';
57
-    private $iCSIMwintarget   = '';
58
-    private $iCSIMalt   = '';
59
-    private $iCSIMArea   = '';
57
+    private $iCSIMwintarget = '';
58
+    private $iCSIMalt = '';
59
+    private $iCSIMArea = '';
60 60
 
61 61
     public function __construct($aVal = '', $aRow = 0, $aCol = 0)
62 62
     {
Please login to merge, or discard this patch.