Skip to content

Commit 5d457a8

Browse files
dependabot[bot]provokateurin
authored andcommitted
build(deps-dev): bump nextcloud/coding-standard from 1.3.2 to 1.4.0
--- updated-dependencies: - dependency-name: nextcloud/coding-standard dependency-version: 1.4.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: provokateurin <[email protected]>
1 parent 0546d37 commit 5d457a8

File tree

2 files changed

+40
-31
lines changed

2 files changed

+40
-31
lines changed

composer.lock

Lines changed: 29 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ControllerMethod.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -350,13 +350,13 @@ public static function parse(string $context,
350350
$methodDescriptionBlockLines[] = $line;
351351
} elseif (
352352
$docNode instanceof PhpDocTagNode && (
353-
$docNode->value instanceof ParamTagValueNode ||
354-
$docNode->value instanceof ThrowsTagValueNode ||
355-
$docNode->value instanceof DeprecatedTagValueNode ||
356-
$docNode->name === '@license' ||
357-
$docNode->name === '@since' ||
358-
$docNode->name === '@psalm-suppress' ||
359-
$docNode->name === '@suppress'
353+
$docNode->value instanceof ParamTagValueNode
354+
|| $docNode->value instanceof ThrowsTagValueNode
355+
|| $docNode->value instanceof DeprecatedTagValueNode
356+
|| $docNode->name === '@license'
357+
|| $docNode->name === '@since'
358+
|| $docNode->name === '@psalm-suppress'
359+
|| $docNode->name === '@suppress'
360360
)) {
361361
// Only add lines from other node types, as these have special handling (e.g. @param or @throws) or should be ignored entirely (e.g. @deprecated or @license).
362362
continue;
@@ -552,10 +552,10 @@ public static function parse(string $context,
552552

553553
$codeRequestHeaders = [];
554554
foreach ($nodeFinder->findInstanceOf($method->getStmts(), MethodCall::class) as $methodCall) {
555-
if ($methodCall->var instanceof PropertyFetch &&
556-
$methodCall->var->var instanceof Variable &&
557-
$methodCall->var->var->name === 'this' &&
558-
$methodCall->var->name->name === 'request') {
555+
if ($methodCall->var instanceof PropertyFetch
556+
&& $methodCall->var->var instanceof Variable
557+
&& $methodCall->var->var->name === 'this'
558+
&& $methodCall->var->name->name === 'request') {
559559
if ($methodCall->name->name === 'getHeader') {
560560
$headerName = self::cleanHeaderName($methodCall->args[0]->value->value);
561561

0 commit comments

Comments
 (0)