Total Complexity | 10 |
Total Lines | 70 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
5 | class IgnoredErrors |
||
6 | { |
||
7 | private bool $numberStoredAsText = false; |
||
8 | |||
9 | private bool $formula = false; |
||
10 | |||
11 | private bool $formulaRange = false; |
||
12 | |||
13 | private bool $twoDigitTextYear = false; |
||
14 | |||
15 | 8 | private bool $evalError = false; |
|
16 | |||
17 | 8 | public function setNumberStoredAsText(bool $value): self |
|
18 | { |
||
19 | 8 | $this->numberStoredAsText = $value; |
|
20 | |||
21 | return $this; |
||
22 | 347 | } |
|
23 | |||
24 | 347 | public function getNumberStoredAsText(): bool |
|
25 | { |
||
26 | return $this->numberStoredAsText; |
||
27 | 1 | } |
|
28 | |||
29 | 1 | public function setFormula(bool $value): self |
|
30 | { |
||
31 | 1 | $this->formula = $value; |
|
32 | |||
33 | return $this; |
||
34 | 342 | } |
|
35 | |||
36 | 342 | public function getFormula(): bool |
|
37 | { |
||
38 | return $this->formula; |
||
39 | 1 | } |
|
40 | |||
41 | 1 | public function setFormulaRange(bool $value): self |
|
42 | { |
||
43 | 1 | $this->formulaRange = $value; |
|
44 | |||
45 | return $this; |
||
46 | 342 | } |
|
47 | |||
48 | 342 | public function getFormulaRange(): bool |
|
49 | { |
||
50 | return $this->formulaRange; |
||
51 | 1 | } |
|
52 | |||
53 | 1 | public function setTwoDigitTextYear(bool $value): self |
|
54 | { |
||
55 | 1 | $this->twoDigitTextYear = $value; |
|
56 | |||
57 | return $this; |
||
58 | 342 | } |
|
59 | |||
60 | 342 | public function getTwoDigitTextYear(): bool |
|
63 | } |
||
64 | |||
65 | public function setEvalError(bool $value): self |
||
66 | { |
||
67 | $this->evalError = $value; |
||
68 | |||
70 | } |
||
71 | |||
72 | public function getEvalError(): bool |
||
75 | } |
||
76 | } |
||
77 |