| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 11 | 1 | protected function getAllowedAttributes() |
|
| 12 | { |
||
| 13 | $styleAllowedAttributes = array( |
||
| 14 | 1 | '/^media$/i' => Element::ATTR_CS_STRING, |
|
| 15 | 1 | '/^nonce$/i' => Element::ATTR_CS_STRING, |
|
| 16 | 1 | '/^type$/i' => Element::ATTR_CI_STRING, |
|
| 17 | '/^scoped$/i' => Element::ATTR_CI_STRING |
||
| 18 | 1 | ); |
|
| 19 | |||
| 20 | 1 | return array_merge( |
|
| 21 | 1 | $styleAllowedAttributes, |
|
| 22 | 1 | parent::getAllowedAttributes() |
|
| 23 | 1 | ); |
|
| 24 | } |
||
| 25 | } |
||
| 26 |