Skip to content

Commit e89f433

Browse files
Revert "Add code coverage metadata"
This reverts commit 1c0372a.
1 parent b4fce24 commit e89f433

18 files changed

+0
-74
lines changed

tests/unit/Framework/MockObject/Creation/CreateConfiguredMockTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\Group;
1413
use PHPUnit\Framework\Attributes\Medium;
1514
use PHPUnit\Framework\Attributes\TestDox;
@@ -21,7 +20,6 @@
2120
#[Group('test-doubles/mock-object')]
2221
#[Medium]
2322
#[TestDox('createConfiguredMock()')]
24-
#[CoversMethod(TestCase::class, 'createConfiguredMock')]
2523
final class CreateConfiguredMockTest extends TestCase
2624
{
2725
public function testCreatesMockObjectForInterfaceOrExtendableClassWithReturnValueConfigurationForMultipleMethods(): void

tests/unit/Framework/MockObject/Creation/CreateConfiguredStubTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\Group;
1413
use PHPUnit\Framework\Attributes\Medium;
1514
use PHPUnit\Framework\Attributes\TestDox;
@@ -21,7 +20,6 @@
2120
#[Group('test-doubles/test-stub')]
2221
#[Medium]
2322
#[TestDox('createConfiguredStub()')]
24-
#[CoversMethod(TestCase::class, 'createConfiguredStub')]
2523
final class CreateConfiguredStubTest extends TestCase
2624
{
2725
public function testCreatesTestStubForInterfaceOrExtendableClassWithReturnValueConfigurationForMultipleMethods(): void

tests/unit/Framework/MockObject/Creation/CreateMockForIntersectionOfInterfacesTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\Group;
1413
use PHPUnit\Framework\Attributes\Medium;
1514
use PHPUnit\Framework\Attributes\TestDox;
@@ -25,7 +24,6 @@
2524
#[Group('test-doubles/mock-object')]
2625
#[Medium]
2726
#[TestDox('createMockForIntersectionOfInterfaces()')]
28-
#[CoversMethod(TestCase::class, 'createMockForIntersectionOfInterfaces')]
2927
final class CreateMockForIntersectionOfInterfacesTest extends TestCase
3028
{
3129
public function testCreatesMockObjectForIntersectionOfInterfaces(): void

tests/unit/Framework/MockObject/Creation/CreateMockForIntersectionOfInterfacesWithDisabledReturnValueGenerationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\DisableReturnValueGenerationForTestDoubles;
1413
use PHPUnit\Framework\Attributes\Group;
1514
use PHPUnit\Framework\Attributes\Medium;
@@ -24,7 +23,6 @@
2423
#[Medium]
2524
#[TestDox('createMockForIntersectionOfInterfaces()')]
2625
#[DisableReturnValueGenerationForTestDoubles]
27-
#[CoversMethod(TestCase::class, 'createMockForIntersectionOfInterfaces')]
2826
final class CreateMockForIntersectionOfInterfacesWithDisabledReturnValueGenerationTest extends TestCase
2927
{
3028
public function testReturnValueGenerationCanBeDisabledWithAttribute(): void

tests/unit/Framework/MockObject/Creation/CreateMockTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\Group;
1413
use PHPUnit\Framework\Attributes\Medium;
1514
use PHPUnit\Framework\Attributes\TestDox;
@@ -29,7 +28,6 @@
2928
#[Group('test-doubles/mock-object')]
3029
#[Medium]
3130
#[TestDox('createMock()')]
32-
#[CoversMethod(TestCase::class, 'createMock')]
3331
final class CreateMockTest extends TestCase
3432
{
3533
public function testCreatesMockObjectForInterface(): void

tests/unit/Framework/MockObject/Creation/CreateMockWithDisabledReturnValueGenerationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\DisableReturnValueGenerationForTestDoubles;
1413
use PHPUnit\Framework\Attributes\Group;
1514
use PHPUnit\Framework\Attributes\Medium;
@@ -23,7 +22,6 @@
2322
#[Medium]
2423
#[TestDox('createMock()')]
2524
#[DisableReturnValueGenerationForTestDoubles]
26-
#[CoversMethod(TestCase::class, 'createMock')]
2725
final class CreateMockWithDisabledReturnValueGenerationTest extends TestCase
2826
{
2927
public function testReturnValueGenerationCanBeDisabledWithAttribute(): void

tests/unit/Framework/MockObject/Creation/CreatePartialMockTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\Group;
1413
use PHPUnit\Framework\Attributes\Medium;
1514
use PHPUnit\Framework\Attributes\TestDox;
@@ -22,7 +21,6 @@
2221
#[Group('test-doubles/mock-object')]
2322
#[Medium]
2423
#[TestDox('createPartialMock()')]
25-
#[CoversMethod(TestCase::class, 'createPartialMock')]
2624
final class CreatePartialMockTest extends TestCase
2725
{
2826
public function testCreatesPartialMockObjectForExtendableClass(): void

tests/unit/Framework/MockObject/Creation/CreatePartialMockWithDisabledReturnValueGenerationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\DisableReturnValueGenerationForTestDoubles;
1413
use PHPUnit\Framework\Attributes\Group;
1514
use PHPUnit\Framework\Attributes\Medium;
@@ -23,7 +22,6 @@
2322
#[Medium]
2423
#[TestDox('createPartialMock()')]
2524
#[DisableReturnValueGenerationForTestDoubles]
26-
#[CoversMethod(TestCase::class, 'createPartialMock')]
2725
final class CreatePartialMockWithDisabledReturnValueGenerationTest extends TestCase
2826
{
2927
public function testReturnValueGenerationCanBeDisabledWithAttribute(): void

tests/unit/Framework/MockObject/Creation/CreateStubForIntersectionOfInterfacesTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\Group;
1413
use PHPUnit\Framework\Attributes\Medium;
1514
use PHPUnit\Framework\Attributes\TestDox;
@@ -25,7 +24,6 @@
2524
#[Group('test-doubles/test-stub')]
2625
#[Medium]
2726
#[TestDox('createStubForIntersectionOfInterfaces()')]
28-
#[CoversMethod(TestCase::class, 'createStubForIntersectionOfInterfaces')]
2927
final class CreateStubForIntersectionOfInterfacesTest extends TestCase
3028
{
3129
public function testCreatesTestStubForIntersectionOfInterfaces(): void

tests/unit/Framework/MockObject/Creation/CreateStubForIntersectionOfInterfacesWithDisabledReturnValueGenerationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
namespace PHPUnit\Framework\MockObject;
1111

12-
use PHPUnit\Framework\Attributes\CoversMethod;
1312
use PHPUnit\Framework\Attributes\DisableReturnValueGenerationForTestDoubles;
1413
use PHPUnit\Framework\Attributes\Group;
1514
use PHPUnit\Framework\Attributes\Medium;
@@ -24,7 +23,6 @@
2423
#[Medium]
2524
#[TestDox('createStubForIntersectionOfInterfaces()')]
2625
#[DisableReturnValueGenerationForTestDoubles]
27-
#[CoversMethod(TestCase::class, 'createStubForIntersectionOfInterfaces')]
2826
final class CreateStubForIntersectionOfInterfacesWithDisabledReturnValueGenerationTest extends TestCase
2927
{
3028
public function testReturnValueGenerationCanBeDisabledWithAttribute(): void

0 commit comments

Comments
 (0)