Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function provideInvalidData() |
||
13 | { |
||
14 | return [ |
||
15 | 'empty string' => [ |
||
16 | 'input' => '', |
||
17 | ], |
||
18 | 'not boolean' => [ |
||
19 | 'input' => 'i:0;', |
||
20 | ], |
||
21 | 'missing tag' => [ |
||
22 | 'input' => ':0;', |
||
23 | ], |
||
24 | 'missing value' => [ |
||
25 | 'input' => 'b:;', |
||
26 | ], |
||
27 | 'missing semicolon' => [ |
||
28 | 'input' => 'b:0', |
||
29 | ], |
||
30 | 'value is not boolean' => [ |
||
31 | 'input' => 'b:2;', |
||
32 | ], |
||
33 | ]; |
||
34 | } |
||
35 | |||
48 |