Skip to content

Commit b845d5f

Browse files
committed
also check protected method while we're at it
1 parent abf9928 commit b845d5f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/AddTestsVoidReturnTypeWhereNoReturn/Fixture/test_private_method.php.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ class SomeClassTest extends TestCase
77
private function testShouldDoStuff()
88
{
99
}
10+
protected function testShouldDoStuffProtected()
11+
{
12+
}
1013
}
1114

1215
?>
@@ -20,6 +23,9 @@ class SomeClassTest extends TestCase
2023
private function testShouldDoStuff()
2124
{
2225
}
26+
protected function testShouldDoStuffProtected()
27+
{
28+
}
2329
}
2430

2531
?>

0 commit comments

Comments
 (0)