nextcloud / photos

📸 Your memories under your control
GNU Affero General Public License v3.0
586 stars 62 forks source link

Declaration of Psr\Log\AbstractLogger::emergency($message, array $context = []) must be compatible #2709

Closed tobiasKaminsky closed 3 days ago

tobiasKaminsky commented 3 days ago

Describe the bug master branch is broken

To Reproduce Steps to reproduce the behavior:

  1. clone app
  2. test it with Android CI
  3. see:
    {"reqId":"SbfKTj3TOiwAyZg8MS1k","level":3,"time":"2024-11-19T11:05:57+00:00","remoteAddr":"172.18.0.1","user":"test","app":"PHP","method":"MKCOL","url":"/remote.php/dav/files/test/test/123/1","message":"Declaration of Psr\Log\AbstractLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void at /var/www/html/apps/photos/vendor/psr/log/Psr/Log/AbstractLogger.php#22","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/1.0.0","version":"31.0.0.4","data":{"app":"PHP"}}

Expected behavior Green CI

tobiasKaminsky commented 3 days ago

composer i --no-dev seems to have solved it.