File tree Expand file tree Collapse file tree 8 files changed +15
-15
lines changed Expand file tree Collapse file tree 8 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 3838 },
3939 "autoload-dev" : {
4040 "psr-4" : {
41- "Inpsyde\\ InpsydeCodingStandard \\ Tests\\ " : " tests/src/"
41+ "Inpsyde\\ CodingStandard \\ Tests\\ " : " tests/src/"
4242 }
4343 },
4444 "extra" : {
Original file line number Diff line number Diff line change 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 ;
1616use PHP_CodeSniffer \Files \LocalFile ;
1717use PHP_CodeSniffer \Files \File ;
1818use PHP_CodeSniffer \Ruleset ;
Original file line number Diff line number Diff line change 44namespace {
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
Original file line number Diff line number Diff line change 11<?php
22
3- namespace Inpsyde \InpsydeCodingStandard \Tests \Fixtures ;
3+ namespace Inpsyde \CodingStandard \Tests \Fixtures ;
44
55// @phpcsSniff CodeQuality.NoTopLevelDefine
66
Original file line number Diff line number Diff line change 88 * file that was distributed with this source code.
99 */
1010
11- namespace Inpsyde \InpsydeCodingStandard \Tests ;
11+ namespace Inpsyde \CodingStandard \Tests ;
1212
1313use PHPUnit \Framework \Exception ;
1414
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 88 * file that was distributed with this source code.
99 */
1010
11- namespace Inpsyde \InpsydeCodingStandard \Tests ;
11+ namespace Inpsyde \CodingStandard \Tests ;
1212
1313use PHP_CodeSniffer \Files \File ;
1414
You can’t perform that action at this time.
0 commit comments