Skip to content

Commit

Permalink
github-285: decrease the minimum psr/log dependency to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturMoczulski committed Nov 10, 2017
1 parent 8dd8ef1 commit 64bdbd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

"require": {
"ext-curl": "*",
"psr/log": "~1.0.2"
"psr/log": "^1.0.1"
},

"require-dev": {
Expand Down
3 changes: 1 addition & 2 deletions tests/ReadmeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

use Rollbar\Rollbar;
use Rollbar\Payload\Level;
use Monolog\Logger;

// used in testBasicUsage()
function do_something()
Expand Down Expand Up @@ -116,7 +115,7 @@ public function testMonolog()
// installs global error and exception handlers
Rollbar::init($config);

$log = new Logger('test');
$log = new \Monolog\Logger('test');
$log->pushHandler(new \Monolog\Handler\PsrHandler(Rollbar::logger()));

try {
Expand Down

0 comments on commit 64bdbd5

Please sign in to comment.