added comment with concrete example

This commit is contained in:
Tomáš Votruba 2017-12-23 20:45:33 +01:00 committed by GitHub
parent 436e3f4110
commit 330689d4b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,14 @@ use Rector\Rector\AbstractRector;
/**
* Before:
* - $this->assertSame(10, count($anything), 'message');
* - $this->assertSame($value, {function}($anything), 'message');
* - $this->assertNotSame($value, {function}($anything), 'message');
* - $this->assertEquals($value, {function}($anything), 'message');
* - $this->assertNotEquals($value, {function}($anything), 'message');
*
* After:
* - $this->assertCount(10, $anything, 'message');
* - $this->assert{function}($value, $anything, 'message');
* - $this->assertNot{function}($value, $anything, 'message');
*/