Skip to content

PSR-3 logging deprecation notice even without using logging #982

Closed
@laurinkeithdavis

Description

@laurinkeithdavis
? !
Operating system Windows 10 x64 1809
PHP Telegram Bot version 0.59.0
PHP version 7.3.7
MySQL version none
Update Method Not used
Self-signed certificate N/A
RAW update (if available) >?

Summary

We upgraded from 0.56.0 to 0.59.0, which broke our implementation is now causing a deprecation notice even without using logging:

A PSR-3 compatible LoggerInterface object must be provided. Initialise with a preconfigured logger instance.

Previous behaviour

No errors.

How to reproduce

Send a message without logging configured.

Expected behaviour

Previously, logging configuration was not required and we don't care about logging anything have logging configured. More importantly, why was a BC breaking change implemented in a minor version?, so not sure why we are getting this notice.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions