File tree 3 files changed +9
-0
lines changed
tests/Integration/Fixtures
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 132
132
use PhpCsFixer \Fixer \PhpUnit \PhpUnitDedicateAssertFixer ;
133
133
use PhpCsFixer \Fixer \PhpUnit \PhpUnitDedicateAssertInternalTypeFixer ;
134
134
use PhpCsFixer \Fixer \PhpUnit \PhpUnitExpectationFixer ;
135
+ use PhpCsFixer \Fixer \PhpUnit \PhpUnitFqcnAnnotationFixer ;
135
136
use PhpCsFixer \Fixer \PhpUnit \PhpUnitMockFixer ;
136
137
use PhpCsFixer \Fixer \PhpUnit \PhpUnitMockShortWillReturnFixer ;
137
138
use PhpCsFixer \Fixer \PhpUnit \PhpUnitNoExpectationAnnotationFixer ;
390
391
PhpUnitNoExpectationAnnotationFixer::class,
391
392
// Usages of ->setExpectedException* methods MUST be replaced by ->expectException* methods
392
393
PhpUnitExpectationFixer::class,
394
+ // PHPUnit annotations should be a FQCNs including a root namespace.
395
+ PhpUnitFqcnAnnotationFixer::class,
393
396
// Visibility of setUp() and tearDown() method should be kept protected
394
397
PhpUnitSetUpTearDownVisibilityFixer::class,
395
398
// There should not be an empty `return` statement at the end of a function
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ namespace Lmc\CodingStandard\Integration\Fixtures;
4
4
5
5
use PHPUnit \Framework \TestCase ;
6
6
7
+ /**
8
+ * @covers \Lmc\CodingStandard\Integration\Fixtures\MyClass
9
+ */
7
10
class PhpUnit extends TestCase
8
11
{
9
12
// PhpUnitSetUpTearDownVisibilityFixer
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ namespace Lmc\CodingStandard\Integration\Fixtures;
4
4
5
5
use PHPUnit \Framework \TestCase ;
6
6
7
+ /**
8
+ * @covers Lmc\CodingStandard\Integration\Fixtures\MyClass
9
+ */
7
10
class PhpUnit extends TestCase
8
11
{
9
12
// PhpUnitSetUpTearDownVisibilityFixer
You can’t perform that action at this time.
0 commit comments