N°5809 Fix compilation error due to CASLogger VS LoggerInterface in psr/log

"Declaration of Combodo\iTop\Cas\CASLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = [])"

psr/log 3.0.0 brings the BC break
Switching to 2.0.0 is nice as it will bring improvements for PHP 8.0+ !
So adding psr/log ^2.0.0 to composer.json
This commit is contained in:
Pierre Goiffon
2024-01-26 10:27:45 +01:00
parent dfb5a4875a
commit ac44ffcdff
12 changed files with 44 additions and 47 deletions

View File

@@ -22,6 +22,7 @@
"nikic/php-parser": "^4.14.0",
"pear/archive_tar": "~1.4.14",
"pelago/emogrifier": "^6.0.0",
"psr/log": "^2.0.0",
"scssphp/scssphp": "^1.10.3",
"symfony/console": "~6.4.0",
"symfony/dotenv": "~6.4.0",