File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
rules-tests/CodeQuality/Rector/MethodCall/AssertTrueFalseToSpecificMethodRector/Fixture Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Rector \PHPUnit \Tests \CodeQuality \Rector \MethodCall \AssertTrueFalseToSpecificMethodRector \Fixture ;
4+
5+ abstract class Testing extends \PHPUnit \Framework \TestCase
6+ {
7+ }
8+
9+ final class MyTest extends Testing
10+ {
11+ public function test ()
12+ {
13+ $ this ->assertTrue (array_key_exists ('... ' , ['... ' ]), 'argument ' );
14+ $ this ->assertTrue (in_array ('... ' , ['... ' ], true ), 'argument ' );
15+
16+ $ this ->assertFalse (is_readable ('... ' ));
17+ $ this ->assertTrue (empty ('... ' ));
18+ $ this ->assertFalse (file_exists ('... ' ));
19+ $ this ->assertTrue (is_dir ('... ' ));
20+ $ this ->assertFalse (is_infinite ('... ' ));
21+ $ this ->assertTrue (is_nan ('... ' ));
22+ $ this ->assertFalse (is_null ('... ' ));
23+ $ this ->assertTrue (is_writable ('... ' ));
24+ $ this ->assertFalse (array_search ('... ' , ['... ' ]), 'argument ' );
25+ $ this ->assertTrue (is_a ($ anything , 'Foo ' ), 'argument ' );
26+ $ this ->assertFalse (is_a ($ anything , Foo::class, true ), 'argument ' );
27+ }
28+ }
29+
30+ ?>
You can’t perform that action at this time.
0 commit comments