Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | protected function getCatchablePatterns(): array |
||
21 | { |
||
22 | return [ |
||
23 | '(?:[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*\\)*[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*', // name |
||
24 | '(\+|\-)?(0|[1-9]\d*)(\.\d+)?', // number |
||
25 | 'null', |
||
26 | '""|\'\'', // empty string |
||
27 | '"[^"]+"', // quoted string |
||
28 | "'[^']+'", // apostrophed string |
||
29 | ]; |
||
44 |