Download the PHP package symfony/deprecation-contracts without Composer

On this page you can find all versions of the php package symfony/deprecation-contracts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of deprecation-contracts with dependencies

Informations about the package deprecation-contracts

Symfony Deprecation Contracts

A generic function and convention to trigger deprecation notices.

This package provides a single global function named trigger_deprecation() that triggers silenced deprecation notices.

By using a custom PHP error handler such as the one provided by the Symfony ErrorHandler component, the triggered deprecations can be caught and logged for later discovery, both on dev and prod environments.

The function requires at least 3 arguments:

Example:

This will generate the following message: Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.

While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty function trigger_deprecation() {} in your application.


Version
Requires php Version >=7.1

The package symfony/deprecation-contracts contains the following files

Loading the files please wait ....

Continue with your Google account.