feat: warnings support

This commit is contained in:
Nuno Maduro
2023-03-02 17:50:57 +00:00
parent 69a0c3ba99
commit f25a9f5558
2 changed files with 23 additions and 13 deletions

View File

@ -0,0 +1,13 @@
<?php
test('warning', function () {
$this->fooqwdfwqdfqw;
expect(true)->toBeTrue();
});
test('user warning', function () {
trigger_error('This is a warning description', E_USER_WARNING);
expect(true)->toBeTrue();
});