Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public static function containsImplicitDoubleEscape($escape_method, $source_fragment) |
||
25 | { |
||
26 | return new static( |
||
27 | "Invalid implicit double-escape in template - remove $escape_method from `$source_fragment` or mark as raw" |
||
2 ignored issues
–
show
|
|||
28 | ); |
||
29 | } |
||
30 | |||
37 |
It is generally a best practice as it is often more readable to use concatenation instead of interpolation for variables inside strings.