Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-doctrine-deprecations - A small layer on top of trigger_error or PSR-3 logging

Website:
https://github.com/doctrine/deprecations
Licence:
MIT
Vendor:
Remi's RPM repository <https://rpms.remirepo.net/>
Description:
A small (side-effect free by default) layer on top of
trigger_error(E_USER_DEPRECATED) or PSR-3 logging.

* no side-effects by default, making it a perfect fit for libraries
  that don't know how the error handler works they operate under
* options to avoid having to rely on error handlers global state by
  using PSR-3 logging
* deduplicate deprecation messages to avoid excessive triggering and
  reduce overhead

We recommend to collect Deprecations using a PSR logger instead of
relying on the global error handler.

Autoloader: /usr/share/php/Doctrine/Deprecations/autoload.php

Packages

php-doctrine-deprecations-1.0.0-1.fc34.remi.noarch [13 KiB] Changelog by Remi Collet (2022-05-03):
- update to 1.0.0
- allow psr/log 2 and 3
- drop patch merged upstream
php-doctrine-deprecations-0.5.3-2.fc34.remi.noarch [13 KiB] Changelog by Remi Collet (2021-03-31):
- add LICENSE file copy/pasted from other doctrine project,
  and from https://github.com/doctrine/deprecations/pull/27