File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
rules-tests/CodeQuality/Rector/MethodCall/AssertComparisonToSpecificMethodRector/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+ namespace Rector \Tests \PHPUnit \CodeQuality \Rector \MethodCall \AssertComparisonToSpecificMethodRector \Fixture ;
3+
4+ use PHPUnit \Framework \TestCase ;
5+
6+ final class AssertTrueToGreaterThan extends TestCase
7+ {
8+ public function some (int $ param )
9+ {
10+ self ::assertTrue (0 < $ param );
11+ }
12+
13+ }
14+ ?>
15+ -----
16+ <?php
17+
18+ namespace Rector \Tests \PHPUnit \CodeQuality \Rector \MethodCall \AssertComparisonToSpecificMethodRector \Fixture ;
19+
20+ use PHPUnit \Framework \TestCase ;
21+
22+ final class AssertTrueToGreaterThan extends TestCase
23+ {
24+ public function some (int $ param )
25+ {
26+ self ::assertGreaterThan (0 , $ param );
27+ }
28+ }
29+
30+ ?>
You can’t perform that action at this time.
0 commit comments