-
-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 5.1: "export-ignore" contracts and phpunit-bridge [Console][Command] Fix Closure code binding when it is a static anonymous function Use class const in test [Security] [HttpFoundation] Use class const in test [PropertyInfo] Fix breaking change with has*(arguments...) methods
- Loading branch information
Showing
3 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,6 @@ | |
use Symfony\Component\Console\Tests\Fixtures\DummyOutput; | ||
|
||
/** | ||
* Console logger test. | ||
* | ||
* @author Kévin Dunglas <[email protected]> | ||
* @author Jordi Boggiano <[email protected]> | ||
*/ | ||
|
@@ -157,9 +155,9 @@ public function testContextReplacement() | |
public function testObjectCastToString() | ||
{ | ||
if (method_exists($this, 'createPartialMock')) { | ||
$dummy = $this->createPartialMock('Symfony\Component\Console\Tests\Logger\DummyTest', ['__toString']); | ||
$dummy = $this->createPartialMock(DummyTest::class, ['__toString']); | ||
} else { | ||
$dummy = $this->createPartialMock('Symfony\Component\Console\Tests\Logger\DummyTest', ['__toString']); | ||
$dummy = $this->createPartialMock(DummyTest::class, ['__toString']); | ||
} | ||
$dummy->method('__toString')->willReturn('DUMMY'); | ||
|
||
|