| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | 2 | public function renderVideoEmbedCode($embedUrl, $width, $height) |
|
| 24 | { |
||
| 25 | 2 | return sprintf( |
|
| 26 | 2 | '<iframe width="%s" height="%s" src="%s" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>', |
|
|
|
|||
| 27 | 2 | $width, |
|
| 28 | 2 | $height, |
|
| 29 | 2 | addslashes($embedUrl) |
|
| 30 | 2 | ); |
|
| 31 | } |
||
| 32 | } |
||
| 33 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.