Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
61 | function testSaveActuallyPersistsValuesForLaterUsage() |
||
62 | { |
||
63 | $parameter = 'parameter'; |
||
64 | $value = 'value'; |
||
65 | $this->assertTrue($this->parameter->save($parameter, $value)); |
||
66 | $this->assertEquals($value, $this->parameter->get($parameter)); |
||
67 | |||
68 | $p = $this->createParameter(); |
||
69 | $this->assertEquals($value, $p->get($parameter)); |
||
70 | } |
||
71 | } |
||
72 |
The break statement is not necessary if it is preceded for example by a return statement:
If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.