Skip to content

Commit 5ba6a1a

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Indicate compatibility with psr/log 2 and 3 Signed-off-by: Alexander M. Turek <[email protected]>
2 parents 420aef6 + 899c8b7 commit 5ba6a1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/phpt/exception_rethrown.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require $vendor.'/vendor/autoload.php';
1414
if (true) {
1515
class TestLogger extends \Psr\Log\AbstractLogger
1616
{
17-
public function log($level, $message, array $context = [])
17+
public function log($level, $message, array $context = []): void
1818
{
1919
echo 'LOG: ', $message, "\n";
2020
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=7.2.5",
20-
"psr/log": "^1.0",
20+
"psr/log": "^1|^2|^3",
2121
"symfony/polyfill-php80": "^1.15",
2222
"symfony/var-dumper": "^4.4|^5.0"
2323
},

0 commit comments

Comments
 (0)