<?php declare(strict_types=1);
namespace PHPUnit\TestFixture\ErrorHandler\DeprecationTriggerMethod;

use const E_USER_DEPRECATED;
use function trigger_error;

final class DeprecationTrigger
{
    public static function triggerDeprecation(string $message): void
    {
        @trigger_error($message, E_USER_DEPRECATED);
    }
}
