View file vendor/doctrine/deprecations/test_fixtures/src/RootDeprecation.php
<?php namespace DeprecationTests; use Doctrine\Deprecations\Deprecation; class RootDeprecation { public static function run() { Deprecation::triggerIfCalledFromOutside( 'doctrine/orm', 'https://github.com/doctrine/deprecations/4444', 'this is deprecated %s %d', 'foo', 1234 ); } }