Registry / utility / symfony-deprecation-contracts

symfony-deprecation-contracts

JSON →
library3.7.0phppackagistunverified

A generic function and convention to trigger deprecation notices.

composer require symfony/deprecation-contracts
INSTALL
IMPORT
SIG · SYMFONY-DEPRECATIO
S
symfony-deprecation-contracts
utilityphpv3.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

deprecation
use function Symfony\Component\Deprecation\deprecation;

Trigger a deprecation notice.

use function Symfony\Component\Deprecation\deprecation; deprecation('symfony/deprecation-contracts', '3.7', 'The "%s" method is deprecated.', 'oldMethod');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.7.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
symfony-deprecation-contracts — pip install symfony-deprecation-contracts · libregistry