Skip to content

Commit ea31806

Browse files
committed
Refactor - Add PHPCS disable/enable comments for multiple class declarations in StopwatchDecorator
1 parent 58330b8 commit ea31806

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Decorator/StopwatchDecorator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ private function generateProxyClass(
189189
$methods = $this->getProxyableMethods($reflection);
190190
$methodsCode = $this->generateProxyMethods($methods);
191191

192+
// phpcs:disable PSR1.Classes.ClassDeclaration.MultipleClasses
192193
return <<<CODE
193194
194195
class $proxyClassName extends $originalClassName {
@@ -204,6 +205,7 @@ public function __construct(object \$wrappedInstance, array \$prefixInterceptors
204205
$methodsCode
205206
}
206207
CODE;
208+
// phpcs:enable PSR1.Classes.ClassDeclaration.MultipleClasses
207209
}
208210

209211
/**

0 commit comments

Comments
 (0)