Skip to content

Commit 3f5bae6

Browse files
authored
Update UPGRADE.md
1 parent 13c909b commit 3f5bae6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

UPGRADE.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Examples:
4646

4747
PHPUnit is upgraded to PHPUnit 6. Common issues:
4848

49+
- `setExpectedException()` is removed
4950
```php
5051
// PHPUnit 5:
5152
$this->setExpectedException($class, $message);
@@ -55,5 +56,7 @@ $this->expectException($class);
5556
$this->expectExceptionMessage($message);
5657
```
5758

58-
Tests that do not perform any assertions, will be marked as risky. This can be avoided by annotating them with ` @doesNotPerformAssertions`
59+
- Tests that do not perform any assertions, will be marked as risky. This can be avoided by annotating them with ` @doesNotPerformAssertions`
60+
61+
- You should remove the `Mockery\Adapter\Phpunit\TestListener` in phpunit.xml.dist
5962

0 commit comments

Comments
 (0)