feat: php 8.4 support

This commit is contained in:
Nuno Maduro
2024-10-15 15:04:30 +01:00
parent 1513ede73b
commit 6d9189f3f5
5 changed files with 5 additions and 20 deletions

View File

@ -166,7 +166,7 @@ final class TestCaseFactory
}
PHP;
eval($classCode); // @phpstan-ignore-line
eval($classCode);
} catch (ParseError $caught) {
throw new RuntimeException(sprintf(
"Unable to create test case for test file at %s. \n %s",

View File

@ -40,7 +40,7 @@ final class KernelDump
*/
public function disable(): void
{
@ob_clean(); // @phpstan-ignore-line
@ob_clean();
if ($this->buffer !== '') {
$this->flush();