Skip to content

Conversation

@splitbrain
Copy link
Collaborator

Since this library only consumes loggers, but does not implement any loggers, it's safe to accept all three versions of psr/log making the library more compatible with different environments.

See also https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/

Since this library only consumes loggers, but does not implement any
loggers, it's safe to accept all three versions of psr/log making the
library more compatible with different environments.

See also https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/
splitbrain added a commit to splitbrain/dokuwiki-plugin-dw2pdf that referenced this pull request Dec 2, 2025
mpdf v8.2.6 => v8.2.7
log 3.0.2 => 1.1.4

Using the old log version avoids conflicts with the smtp plugin for now.

However we need a proper solution to this problem in the future
(probably in core).

A PR to be able to use any log version with the smtp plugin has been
submitted: txthinking/Mailer#36

We probably should introduce a log/psr:3 dependency in core when
upgrading to PHP8 (and provide a PSR compatible wrapper around our
logger)
@txthinking txthinking merged commit 616e58b into master Dec 7, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants