Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 26c72fc

Browse filesBrowse files
committed
Indicate compatibility with psr/log 2 and 3
Signed-off-by: Alexander M. Turek <me@derrabus.de>
1 parent a8d2d5c commit 26c72fc
Copy full SHA for 26c72fc

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎Tests/phpt/exception_rethrown.phpt

Copy file name to clipboardExpand all lines: Tests/phpt/exception_rethrown.phpt
+1-1Lines 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 $message, "\n";
2020
}

‎composer.json

Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=7.1.3",
20-
"psr/log": "~1.0",
20+
"psr/log": "^1|^2|^3",
2121
"symfony/polyfill-php80": "^1.15"
2222
},
2323
"conflict": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.