Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #7492 from Maks3w/hotfix/php7-compatibility
Browse files Browse the repository at this point in the history
[stdlib][test] Fix Deprecated notice for Non-static method called static
  • Loading branch information
weierophinney committed May 7, 2015
2 parents 0d04f4f + fdc4f3a commit c4ad300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ZendTest/Stdlib/CallbackHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function testCallbackConsistingOfStringContextWithNonStaticMethodShouldNo
$error = false;
set_error_handler(function ($errno, $errstr) use (&$error) {
$error = true;
}, E_STRICT);
}, E_STRICT|E_DEPRECATED);
$handler->call();
restore_error_handler();
$this->assertTrue($error);
Expand Down

0 comments on commit c4ad300

Please sign in to comment.