Skip to content

Commit 8c4273a

Browse files
committed
Changed tests namespace for consistence
1 parent 90ef8fb commit 8c4273a

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Changelog
22

33
## Not released
4-
- Renamed sniffs namespace (**breaking change**). Sniff are now referenced via `Inpsyde.CodeQuality...`
5-
instead of `InpsydeCodingStandard.CodeQuality...`
4+
- Renamed sniffs namespace (**breaking change**).
5+
Sniff are now referenced via `Inpsyde.CodeQuality...` instead of `InpsydeCodingStandard.CodeQuality...`
66
- Add `Psr4Sniff` to check PSR-4 compliance of files that contain classes auto-loadable entities.
77

88
## 0.9.0

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"autoload-dev": {
4040
"psr-4": {
41-
"Inpsyde\\InpsydeCodingStandard\\Tests\\": "tests/src/"
41+
"Inpsyde\\CodingStandard\\Tests\\": "tests/src/"
4242
}
4343
},
4444
"extra": {

tests/cases/FixturesTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
namespace Inpsyde\InpsydeCodingStandard\Tests\Cases;
11+
namespace Inpsyde\CodingStandard\Tests\Cases;
1212

13-
use Inpsyde\InpsydeCodingStandard\Tests\FixtureContentParser;
14-
use Inpsyde\InpsydeCodingStandard\Tests\SniffMessages;
15-
use Inpsyde\InpsydeCodingStandard\Tests\SniffMessagesExtractor;
13+
use Inpsyde\CodingStandard\Tests\FixtureContentParser;
14+
use Inpsyde\CodingStandard\Tests\SniffMessages;
15+
use Inpsyde\CodingStandard\Tests\SniffMessagesExtractor;
1616
use PHP_CodeSniffer\Files\LocalFile;
1717
use PHP_CodeSniffer\Files\File;
1818
use PHP_CodeSniffer\Ruleset;

tests/fixtures/Psr4Fixture.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
namespace {
55

66
// @phpcsSniffPropertiesStart
7-
$psr4 = ["\\Inpsyde\\InpsydeCodingStandard\\Tests\\" => "tests/"];
7+
$psr4 = ["\\Inpsyde\\CodingStandard\\Tests\\" => "tests/"];
88
$exclude = ["\\I\\Am\\Excluded\\Psr4Fixture"];
99
// @phpcsSniffPropertiesEnd
1010
}
1111

12-
namespace Inpsyde\InpsydeCodingStandard\Tests\fixtures {
12+
namespace Inpsyde\CodingStandard\Tests\fixtures {
1313

1414
class Psr4Fixture
1515
{
@@ -23,7 +23,7 @@ class ThisIsWrong
2323
}
2424
}
2525

26-
namespace Inpsyde\InpsydeCodingStandard\Foo\Bar {
26+
namespace Inpsyde\CodingStandard\Foo\Bar {
2727

2828
// @phpcsErrorCodeOnNextLine InvalidPSR4
2929
interface ThisIsWrong
@@ -32,7 +32,7 @@ interface ThisIsWrong
3232
}
3333
}
3434

35-
namespace Inpsyde\InpsydeCodingStandard\Tests\Bar {
35+
namespace Inpsyde\CodingStandard\Tests\Bar {
3636

3737
// @phpcsErrorCodeOnNextLine InvalidPSR4
3838
trait ThisIsWrong

tests/fixtures/no-top-level-define.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Inpsyde\InpsydeCodingStandard\Tests\Fixtures;
3+
namespace Inpsyde\CodingStandard\Tests\Fixtures;
44

55
// @phpcsSniff CodeQuality.NoTopLevelDefine
66

tests/src/FixtureContentParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
namespace Inpsyde\InpsydeCodingStandard\Tests;
11+
namespace Inpsyde\CodingStandard\Tests;
1212

1313
use PHPUnit\Framework\Exception;
1414

tests/src/SniffMessages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
namespace Inpsyde\InpsydeCodingStandard\Tests;
11+
namespace Inpsyde\CodingStandard\Tests;
1212

1313
/**
1414
* @package php-coding-standards

tests/src/SniffMessagesExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* file that was distributed with this source code.
99
*/
1010

11-
namespace Inpsyde\InpsydeCodingStandard\Tests;
11+
namespace Inpsyde\CodingStandard\Tests;
1212

1313
use PHP_CodeSniffer\Files\File;
1414

0 commit comments

Comments
 (0)