Hello, I am on CakepHP 4.4. I upgraded my PHPUnit to 10 from 9 and now when i try to run the tests, I get the below error:
[PHP Fatal error: Cannot override final method PHPUnit\Framework\Assert::assertDirectoryDoesNotExist() in \vendor\cakephp\cakephp\src\TestSuite\TestCase.php on line 159]
Fatal error: Cannot override final method PHPUnit\Framework\Assert::assertDirectoryDoesNotExist() in \vendor\cakephp\cakephp\src\TestSuite\TestCase.php on line 159
Did anyone else have a similar error? how did you fix it?