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