Skip to content

Commit 8fd5935

Browse files
AC-3556::Strict monolog version to <=2.7.0 and fixed static tests failure
1 parent 360fd1b commit 8fd5935

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"magento/composer-dependency-version-audit-plugin": "~0.1",
6767
"magento/magento-composer-installer": ">=0.3.0",
6868
"magento/zendframework1": "~1.15.0",
69-
"monolog/monolog": "^2.6",
69+
"monolog/monolog": "<=2.7.0",
7070
"pelago/emogrifier": "^6.0.0",
7171
"php-amqplib/php-amqplib": "~3.2.0",
7272
"phpseclib/mcrypt_compat": "~2.0.2",

dev/tests/integration/framework/Magento/TestFramework/ErrorLog/Logger.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public function __construct(
4444
}
4545

4646
/**
47+
* Clear messages
48+
*
4749
* @return void
4850
*/
4951
public function clearMessages(): void
@@ -52,6 +54,8 @@ public function clearMessages(): void
5254
}
5355

5456
/**
57+
* Get messages
58+
*
5559
* @return array
5660
*/
5761
public function getMessages(): array
@@ -65,7 +69,7 @@ public function getMessages(): array
6569
* @param int $level The logging level
6670
* @param string $message The log message
6771
* @param array $context The log context
68-
* @param DateTimeImmutable Optional log date to log into the past or future
72+
* @param DateTimeImmutable $datetime Optional log date to log into the past or future
6973
* @return bool Whether the record has been processed
7074
*/
7175
public function addRecord(

0 commit comments

Comments
 (0)