Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function getReplacePatternData(): array |
||
10 | { |
||
11 | return [ |
||
12 | '/ method=("get"|get)/i' => '', |
||
13 | '/ disabled=[^ >]*(.*?)/' => ' disabled', |
||
14 | '/ readonly=[^ >]*(.*?)/' => ' readonly', |
||
15 | '/ selected=[^ >]*(.*?)/' => ' selected', |
||
16 | '/ async=[^ >]*(.*?)/' => ' async', |
||
17 | '/ defer=[^ >]*(.*?)/' => ' defer', |
||
18 | ]; |
||
21 |