Skip to content

Commit 78e5d09

Browse files
committed
Tests/Sniffs: rename AbstractSniffUnitTest to AbstractSniffTestCase
... to comply with PHPUnit naming conventions, which are more strictly enforced as of PHPUnit 10. Ref: sebastianbergmann/phpunit 5132
1 parent bd8ccf9 commit 78e5d09

File tree

204 files changed

+407
-407
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+407
-407
lines changed

src/Standards/Generic/Tests/Arrays/ArrayIndentUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\Arrays;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the ArrayIndent sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\Arrays\ArrayIndentSniff
1818
*/
19-
final class ArrayIndentUnitTest extends AbstractSniffUnitTest
19+
final class ArrayIndentUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/Arrays/DisallowLongArraySyntaxUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\Arrays;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the DisallowLongArraySyntax sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\Arrays\DisallowLongArraySyntaxSniff
1818
*/
19-
final class DisallowLongArraySyntaxUnitTest extends AbstractSniffUnitTest
19+
final class DisallowLongArraySyntaxUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/Arrays/DisallowShortArraySyntaxUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\Arrays;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the DisallowShortArraySyntax sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\Arrays\DisallowShortArraySyntaxSniff
1818
*/
19-
final class DisallowShortArraySyntaxUnitTest extends AbstractSniffUnitTest
19+
final class DisallowShortArraySyntaxUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/Classes/DuplicateClassNameUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\Classes;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the DuplicateClassName sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\Classes\DuplicateClassNameSniff
1818
*/
19-
final class DuplicateClassNameUnitTest extends AbstractSniffUnitTest
19+
final class DuplicateClassNameUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/Classes/OpeningBraceSameLineUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\Classes;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the OpeningBraceSameLine sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\Classes\OpeningBraceSameLineSniff
1818
*/
19-
final class OpeningBraceSameLineUnitTest extends AbstractSniffUnitTest
19+
final class OpeningBraceSameLineUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/CodeAnalysis/AssignmentInConditionUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\CodeAnalysis;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the AssignmentInCondition sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\AssignmentInConditionSniff
1818
*/
19-
final class AssignmentInConditionUnitTest extends AbstractSniffUnitTest
19+
final class AssignmentInConditionUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/CodeAnalysis/EmptyPHPStatementUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\CodeAnalysis;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the EmptyPHPStatement sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyPHPStatementSniff
1818
*/
19-
final class EmptyPHPStatementUnitTest extends AbstractSniffUnitTest
19+
final class EmptyPHPStatementUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/CodeAnalysis/EmptyStatementUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\CodeAnalysis;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the EmptyStatement sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyStatementSniff
1818
*/
19-
final class EmptyStatementUnitTest extends AbstractSniffUnitTest
19+
final class EmptyStatementUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/CodeAnalysis/ForLoopShouldBeWhileLoopUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\CodeAnalysis;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the ForLoopShouldBeWhileLoop sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\ForLoopShouldBeWhileLoopSniff
1818
*/
19-
final class ForLoopShouldBeWhileLoopUnitTest extends AbstractSniffUnitTest
19+
final class ForLoopShouldBeWhileLoopUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

src/Standards/Generic/Tests/CodeAnalysis/ForLoopWithTestFunctionCallUnitTest.php

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

1010
namespace PHP_CodeSniffer\Standards\Generic\Tests\CodeAnalysis;
1111

12-
use PHP_CodeSniffer\Tests\Standards\AbstractSniffUnitTest;
12+
use PHP_CodeSniffer\Tests\Standards\AbstractSniffTestCase;
1313

1414
/**
1515
* Unit test class for the ForLoopWithTestFunctionCall sniff.
1616
*
1717
* @covers \PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\ForLoopWithTestFunctionCallSniff
1818
*/
19-
final class ForLoopWithTestFunctionCallUnitTest extends AbstractSniffUnitTest
19+
final class ForLoopWithTestFunctionCallUnitTest extends AbstractSniffTestCase
2020
{
2121

2222

0 commit comments

Comments
 (0)