Skip to content

Commit e52ae2b

Browse files
cleanup testing classes
- removed annecessary annotations - add missing "Fixed" folder into the ignored patterns for ecs config
1 parent 0e5f2c3 commit e52ae2b

5 files changed

Lines changed: 0 additions & 33 deletions

File tree

tests/Unit/Sniffs/RequireOverrideAttributeSniff/Wrong/ChainedClass.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,11 @@
88

99
class ChainedClass extends AbstractChainedTestClass
1010
{
11-
/**
12-
* @return string
13-
*/
1411
public function getName(): string
1512
{
1613
return 'name';
1714
}
1815

19-
/**
20-
* @return string
21-
*/
2216
public function getDescription(): string
2317
{
2418
return '';
@@ -32,9 +26,6 @@ protected function doSomething(): void
3226
{
3327
}
3428

35-
/**
36-
* @return string
37-
*/
3829
public function uniqueMethod(): string
3930
{
4031
return 'This method should not need Override';

tests/Unit/Sniffs/RequireOverrideAttributeSniff/Wrong/ChainedInterfacesClass.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
class ChainedInterfacesClass implements ExtendedInterface, SecondInterface
1111
{
12-
/**
13-
* @return string
14-
*/
1512
public function getName(): string
1613
{
1714
return '';

tests/Unit/Sniffs/RequireOverrideAttributeSniff/Wrong/ClassWithInterface.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
class ClassWithInterface implements TestInterface, SecondInterface
1111
{
12-
/**
13-
* @return string
14-
*/
1512
public function getName(): string
1613
{
1714
return 'name';
@@ -21,9 +18,6 @@ public function process(): void
2118
{
2219
}
2320

24-
/**
25-
* @return string
26-
*/
2721
public function uniqueMethod(): string
2822
{
2923
return '';

tests/Unit/Sniffs/RequireOverrideAttributeSniff/Wrong/CombinedParentsClass.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,11 @@
99

1010
class CombinedParentsClass extends AbstractTestClass implements TestInterface
1111
{
12-
/**
13-
* @return string
14-
*/
1512
public function getName(): string
1613
{
1714
return 'name';
1815
}
1916

20-
/**
21-
* @return string
22-
*/
2317
public function getDescription(): string
2418
{
2519
return 'description';
@@ -33,9 +27,6 @@ protected function doSomething(): void
3327
{
3428
}
3529

36-
/**
37-
* @return string
38-
*/
3930
public function uniqueMethod(): string
4031
{
4132
return 'This method should not need Override';

tests/Unit/Sniffs/RequireOverrideAttributeSniff/Wrong/SimpleWithParentClass.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
class SimpleWithParentClass extends SimpleTestClass
1010
{
11-
/**
12-
* @return string
13-
*/
1411
public function getName(): string
1512
{
1613
return 'name';
@@ -20,9 +17,6 @@ public function process(): void
2017
{
2118
}
2219

23-
/**
24-
* @return string
25-
*/
2620
public function uniqueMethod(): string
2721
{
2822
return '';

0 commit comments

Comments
 (0)