Skip to content

Commit 3a47cd6

Browse files
authored
Merge pull request #643 from PHPCSStandards/feature/tests-fix-typo-in-dirname+test-renames
Tests/Tokenizer(s): fix typo in directory name and rename some test files
2 parents 760c450 + 1bf4e42 commit 3a47cd6

File tree

97 files changed

+98
-96
lines changed

Some content is hidden

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

97 files changed

+98
-96
lines changed

phpcs.xml.dist

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

140140
<!-- This test file specifically *needs* Windows line endings for testing purposes. -->
141141
<rule ref="Generic.Files.LineEndings.InvalidEOLChar">
142-
<exclude-pattern>tests/Core/Tokenizer/PHP/StableCommentWhitespaceWinTest\.php</exclude-pattern>
142+
<exclude-pattern>tests/Core/Tokenizers/PHP/StableCommentWhitespaceWinTest\.php</exclude-pattern>
143143
</rule>
144144

145145
<!-- Avoid false positive with this sniff detecting itself -->

tests/Core/Tokenizer/AbstractTokenizerTestCase.php renamed to tests/Core/Tokenizers/AbstractTokenizerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
1111
*/
1212

13-
namespace PHP_CodeSniffer\Tests\Core\Tokenizer;
13+
namespace PHP_CodeSniffer\Tests\Core\Tokenizers;
1414

1515
use PHP_CodeSniffer\Files\DummyFile;
1616
use PHP_CodeSniffer\Ruleset;

tests/Core/Tokenizer/Comment/CommentTestCase.php renamed to tests/Core/Tokenizers/Comment/CommentTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
88
*/
99

10-
namespace PHP_CodeSniffer\Tests\Core\Tokenizer\Comment;
10+
namespace PHP_CodeSniffer\Tests\Core\Tokenizers\Comment;
1111

12-
use PHP_CodeSniffer\Tests\Core\Tokenizer\AbstractTokenizerTestCase;
12+
use PHP_CodeSniffer\Tests\Core\Tokenizers\AbstractTokenizerTestCase;
1313
use PHP_CodeSniffer\Util\Tokens;
1414

1515
/**

tests/Core/Tokenizer/Comment/LiveCoding1Test.php renamed to tests/Core/Tokenizers/Comment/LiveCoding1Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
88
*/
99

10-
namespace PHP_CodeSniffer\Tests\Core\Tokenizer\Comment;
10+
namespace PHP_CodeSniffer\Tests\Core\Tokenizers\Comment;
1111

1212
/**
1313
* Tests that unclosed docblocks during live coding are handled correctly.

tests/Core/Tokenizer/Comment/LiveCoding2Test.php renamed to tests/Core/Tokenizers/Comment/LiveCoding2Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
88
*/
99

10-
namespace PHP_CodeSniffer\Tests\Core\Tokenizer\Comment;
10+
namespace PHP_CodeSniffer\Tests\Core\Tokenizers\Comment;
1111

1212
/**
1313
* Tests that unclosed docblocks during live coding are handled correctly.

tests/Core/Tokenizer/Comment/LiveCoding3Test.php renamed to tests/Core/Tokenizers/Comment/LiveCoding3Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @license https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/licence.txt BSD Licence
88
*/
99

10-
namespace PHP_CodeSniffer\Tests\Core\Tokenizer\Comment;
10+
namespace PHP_CodeSniffer\Tests\Core\Tokenizers\Comment;
1111

1212
/**
1313
* Tests that unclosed docblocks during live coding are handled correctly.

0 commit comments

Comments
 (0)