Registry / logging / doctrine-deprecations

doctrine-deprecations

JSON →
library1.1.6phppackagistunverified

A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.

composer require doctrine/deprecations
INSTALL
IMPORT
SIG · DOCTRINE-DEPRECATI
D
doctrine-deprecations
loggingphpv1.1.6
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 Doctrine\Deprecations\Deprecation;

Trigger a deprecation notice

use Doctrine\Deprecations\Deprecation; Deprecation::trigger('doctrine/dbal', '3.0', 'This method is deprecated.');
Debug
Known issues
gotchaDeprecations are silenced by default in production
fix
Set DOCTRINE_DEPRECATIONS environment variable to 'all' to enable
affects: >=1.0
Upgrade
Version history
1.1.6latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
OpenAI (training)
1
Resources
doctrine-deprecations — pip install doctrine-deprecations · libregistry