Update tests
We also need to update Tests inside tests
folder and fix phpunit config:
- Remove
syntaxCheck
attribute fromphpunit.xml.dist
- Find and replace:
function setUp()
withfunction setUp(): void
function tearDown()
withfunction tearDown(): void
- Remove
@expectedExpection
annotation and replace it with$this->expectException()