Skip to content

Commit a16cf9e

Browse files
committed
PSR12/CompoundNamespaceDepth: test tweak
Properties overruled in tests should always be reset as `// phpcs:set` is not limited to the current file.
1 parent ecc1b60 commit a16cf9e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Standards/PSR12/Tests/Namespaces/CompoundNamespaceDepthUnitTest.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ use Vendor\Package\SomeNamespace\{
2929
SubnamespaceOne\ClassB,
3030
ClassZ,
3131
};
32+
33+
// Reset the property to its default value.
34+
// phpcs:set PSR12.Namespaces.CompoundNamespaceDepth maxDepth 2

0 commit comments

Comments
 (0)