| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | public function notEquals(mixed $unexpected, mixed $actual): void |
||
| 48 | { |
||
| 49 | $this->assertions[] = 'notequals'; |
||
| 50 | |||
| 51 | if ($unexpected !== $actual) { |
||
| 52 | $this->successes[] = 'notequals'; |
||
| 53 | |||
| 54 | return; |
||
| 55 | } |
||
| 56 | |||
| 57 | $this->errors[] = new AssertFailureException( |
||
| 58 | sprintf('Failed asserting that unexpected %s does not match actual %s', $unexpected, $actual) |
||
| 59 | ); |
||
| 62 |