@@ -137,8 +137,7 @@ |
||
137 | 137 | $this->rotation = 0; |
138 | 138 | $this->shadow = new Drawing\Shadow(); |
139 | 139 | |
140 | - // Set image index |
|
141 | - ++self::$imageCounter; |
|
140 | + // Set image index++self::$imageCounter; |
|
142 | 141 | $this->imageIndex = self::$imageCounter; |
143 | 142 | } |
144 | 143 |
@@ -35,13 +35,13 @@ |
||
35 | 35 | $set6 = [0, $dataArray3, '=IF(A1+B1>3,C1,0)', 'E5']; |
36 | 36 | |
37 | 37 | $dataArray4 = [ |
38 | - ['noflag', 0, 0], |
|
39 | - [127000, 0, 0], |
|
40 | - [10000, 0.03, 0], |
|
41 | - [20000, 0.06, 0], |
|
42 | - [40000, 0.09, 0], |
|
43 | - [70000, 0.12, 0], |
|
44 | - [90000, 0.03, 0], |
|
38 | + ['noflag', 0, 0], |
|
39 | + [127000, 0, 0], |
|
40 | + [10000, 0.03, 0], |
|
41 | + [20000, 0.06, 0], |
|
42 | + [40000, 0.09, 0], |
|
43 | + [70000, 0.12, 0], |
|
44 | + [90000, 0.03, 0], |
|
45 | 45 | ]; |
46 | 46 | $formula2 = '=IF(A1="flag",IF(A2<10, 0) + IF(A3<10000, 0))'; |
47 | 47 | $set7 = [false, $dataArray4, $formula2, 'E5']; |
@@ -17,8 +17,8 @@ discard block |
||
17 | 17 | ], |
18 | 18 | [ |
19 | 19 | [ |
20 | - [30, 36, 42], |
|
21 | - [66, 81, 96], |
|
20 | + [30, 36, 42], |
|
21 | + [66, 81, 96], |
|
22 | 22 | [102, 126, 150], |
23 | 23 | ], |
24 | 24 | [ |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | ], |
63 | 63 | [ |
64 | 64 | [ |
65 | - [62.00, 49.46], |
|
65 | + [62.00, 49.46], |
|
66 | 66 | [176.40, 144.50], |
67 | 67 | ], |
68 | 68 | [ |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | return [ |
4 | - [ // Office reference example #1 |
|
4 | + [// Office reference example #1 |
|
5 | 5 | 'orange', |
6 | 6 | 4.19, |
7 | 7 | [ |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | ['blue'], |
20 | 20 | ], |
21 | 21 | ], |
22 | - [ // Office reference example #2 |
|
22 | + [// Office reference example #2 |
|
23 | 23 | 'yellow', |
24 | 24 | 5.75, |
25 | 25 | [ |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | ['blue'], |
38 | 38 | ], |
39 | 39 | ], |
40 | - [ // Office reference example #3 |
|
40 | + [// Office reference example #3 |
|
41 | 41 | 'blue', |
42 | 42 | 7.66, |
43 | 43 | [ |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | ['blue'], |
56 | 56 | ], |
57 | 57 | ], |
58 | - [ // Office reference example #4 |
|
58 | + [// Office reference example #4 |
|
59 | 59 | '#N/A', |
60 | 60 | 0, |
61 | 61 | [ |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | ['blue'], |
74 | 74 | ], |
75 | 75 | ], |
76 | - [ // Array form test |
|
76 | + [// Array form test |
|
77 | 77 | 'orange', |
78 | 78 | 4.2, |
79 | 79 | [ |
@@ -94,7 +94,7 @@ |
||
94 | 94 | [8, 8, 3, 2], |
95 | 95 | -1, |
96 | 96 | ], |
97 | - [ // Default matchtype |
|
97 | + [// Default matchtype |
|
98 | 98 | 4, // Expected |
99 | 99 | 4, // Input |
100 | 100 | [2, 0, 0, 3], |
@@ -2948,8 +2948,8 @@ |
||
2948 | 2948 | private function writeCFRule(Conditional $conditional): void |
2949 | 2949 | { |
2950 | 2950 | $record = 0x01B1; // Record identifier |
2951 | - $type = null; // Type of the CF |
|
2952 | - $operatorType = null; // Comparison operator |
|
2951 | + $type = null; // Type of the CF |
|
2952 | + $operatorType = null; // Comparison operator |
|
2953 | 2953 | |
2954 | 2954 | if ($conditional->getConditionType() == Conditional::CONDITION_EXPRESSION) { |
2955 | 2955 | $type = 0x02; |
@@ -30,7 +30,7 @@ |
||
30 | 30 | Fill::FILL_PATTERN_GRAY125 => 0x11, |
31 | 31 | Fill::FILL_PATTERN_GRAY0625 => 0x12, |
32 | 32 | Fill::FILL_GRADIENT_LINEAR => 0x00, // does not exist in BIFF8 |
33 | - Fill::FILL_GRADIENT_PATH => 0x00, // does not exist in BIFF8 |
|
33 | + Fill::FILL_GRADIENT_PATH => 0x00, // does not exist in BIFF8 |
|
34 | 34 | ]; |
35 | 35 | |
36 | 36 | public static function style(Fill $fill): int |