<?php trigger_error(string $message, int $error_level = E_USER_NOTICE): true
<?php foreach ($this as $key) { if (! $values->valid()) { trigger_error($errorMessage, E_USER_WARNING); break; }
<?php } if ($values->valid()) { trigger_error($errorMessage, E_USER_WARNING); } }); }
<?php { $this->withDeprecationHandling(); trigger_error('Something is deprecated', E_USER_DEPRECATED); $this->assertTrue($this->deprecationsFound); }
<?php $this->expectException(ErrorException::class); $this->expectExceptionMessage('Something is deprecated'); trigger_error('Something is deprecated', E_USER_DEPRECATED); } protected function tearDown(): void