File: DeprecationTrigger.php

package info (click to toggle)
phpunit 12.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 50,160 kB
  • sloc: php: 101,772; xml: 2,084; makefile: 124; sh: 99
file content (10 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
<?php declare(strict_types=1);
namespace PHPUnit\TestFixture\SelfDirectIndirect;

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