Skip to content

Commit 0aae3e5

Browse files
committed
format: fix PSR4 violations
1 parent 2385ad2 commit 0aae3e5

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"psr-4": {
5151
"Inpsyde\\CodingStandard\\Tests\\": [
5252
"tests/src/",
53-
"tests/unit/",
54-
"tests/e2e/"
53+
"tests/unit/cases",
54+
"tests/e2e/cases"
5555
]
5656
}
5757
},

phpcs.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,14 @@
2828
<exclude-pattern>./tests/unit/cases/</exclude-pattern>
2929
</rule>
3030

31+
<rule ref="Inpsyde.CodeQuality.Psr4">
32+
<exclude-pattern>./Inpsyde/Sniffs/</exclude-pattern>
33+
<properties>
34+
<property name="psr4" type="array">
35+
<element key="Inpsyde\CodingStandard\Helpers" value="Inpsyde/Helpers"/>
36+
<element key="Inpsyde\CodingStandard\Tests" value="tests/src|tests/unit/cases|tests/e2e/cases"/>
37+
</property>
38+
</properties>
39+
</rule>
40+
3141
</ruleset>

tests/e2e/cases/E2eTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
declare(strict_types=1);
44

5-
namespace Inpsyde\CodingStandard\Tests\cases;
5+
namespace Inpsyde\CodingStandard\Tests;
66

7-
use Inpsyde\CodingStandard\Tests\TestCase;
87
use RuntimeException;
98

109
class E2eTest extends TestCase

0 commit comments

Comments
 (0)