Closed nicosp closed 9 months ago
This does seem to miss a test But fair enough
This does seem to miss a test But fair enough
I thought this was covered as part of testing with php 8.2.
dont think so, it only says so far the class is valid (no syntax error). no assert on the method returns yet.
dont think so, it only says so far the class is valid (no syntax error). no assert on the method returns yet.
I might be missing something but the tests are:
$serialized = serialize($event);
$this->assertEquals($event, unserialize($serialized));
My understanding is that php 8.2 will automarically use the __ methods while previous versions will use the non-underscored versions.
OK, in that case you seem to be right.
Fixes the following on PHP 8.2: