Closed
Description
Description
The trigger_deprecation
provided by symfony/deprecation-contracts
is registered in the global namespace. I really don't think it's a good practice to register functions in the global namespace for a variety of reasons, neither is there any drawbacks not to.
Would you be open to this change?
Alternatively it would also not be a bad idea to provide a static function instead as function autoloading in PHP is a bit meh:
Symfony\Deprecation::trigger(...)