Skip to content

Commit a9aafaa

Browse files
committed
revert: "tests: ignore some phpunit notices"
This reverts commit 98de3bf.
1 parent 98de3bf commit a9aafaa

3 files changed

Lines changed: 1 addition & 3 deletions

File tree

tests/Parser/ClassVisitor/MethodClassVisitorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class MethodClassVisitorTest extends TestCase
2121
{
22-
#[\PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations]
22+
2323
public function testAddsMethods(): void
2424
{
2525
$class = $this->getMockBuilder(ClassReflection::class)

tests/Parser/ClassVisitor/PropertyClassVisitorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
class PropertyClassVisitorTest extends TestCase
2222
{
2323

24-
#[\PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations]
2524
public function testAddsProperties(): void
2625
{
2726
$class = $this->getMockBuilder(ClassReflection::class)

tests/Parser/ProjectTraverserTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class ProjectTraverserTest extends TestCase
2727
* @dataProvider getTraverseOrderClasses
2828
*/
2929
#[\PHPUnit\Framework\Attributes\DataProvider('getTraverseOrderClasses')]
30-
#[\PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations]
3130
public function testTraverseOrder(
3231
string $interfaceName,
3332
string $parentName,

0 commit comments

Comments
 (0)