src/AbstractSampleTestCase.php
The method testSample() contains an eval expression. Wontfix
Wontfix
eval($code);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
EvalExpression
Since: 0.2
An eval-expression is untestable, a security risk and bad practice. Therefore it should be avoided. Consider to replace the eval-expression with regular code.
Example
class Foo {
public function bar($param) {
if ($param === 42) {
eval('$param = 23;');
}
}
}