Skip to content

fix(deps): update dependency symplify/coding-standard to v13.1.1#830

Open
renovate-bot wants to merge 1 commit into
googleapis:mainfrom
renovate-bot:renovate/symplify-coding-standard-13.x
Open

fix(deps): update dependency symplify/coding-standard to v13.1.1#830
renovate-bot wants to merge 1 commit into
googleapis:mainfrom
renovate-bot:renovate/symplify-coding-standard-13.x

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
symplify/coding-standard 13.0.113.1.1 age confidence

Release Notes

symplify/coding-standard (symplify/coding-standard)

v13.1.1: Released Coding Standard 13.1

Compare Source

Doc block malform rules: one rule → 10 single-task fixers

The monolithic ParamReturnAndVarTagMalformsFixer (and its internal "malform worker" system) has been split into focused, single-responsibility fixers, registered together in the new docblock set. Each one fixes exactly one kind of @param / @return / @var malform, and all of them handle the @phpstan- and @psalm- prefixed variants too.

New rules & what they change

AddMissingParamNameFixer — add a missing variable name to a @param

 /**
- * @​param string
+ * @​param string $name
  */
 function getPerson($name)
 {
 }

AddMissingVarNameFixer — add a missing variable name to an inline @var

-/** @​var int */
+/** @​var int $value */
 $value = 1000;

DoubleAsteriskInlineVarFixer (new capability) — use a double-asterisk /** doc block for an inline @var

-/* @​var int $variable */
+/** @​var int $variable */
 $variable = 5;

FixParamNameTypoFixer — fix a typo in the @param variable name to match the real argument

 /**
  * @​param string $one
- * @​param string $twoTypo
+ * @​param string $two
  */
 function anotherFunction(string $one, string $two)
 {
 }

RemoveDeadParamFixer — remove a dead @param line that has only a name and no type

 /**
  * @​param string $name
- * @​param $age
  */
 function withDeadParam(string $name, $age)
 {
 }

RemoveParamNameReferenceFixer — remove the reference & from a @param variable name

 /**
- * @​param string &$name
+ * @​param string $name
  */
 function paramReference($name)
 {
 }

RemoveSuperfluousReturnNameFixer — remove a superfluous variable name from a @return

 /**
- * @​return int $value
+ * @​return int
  */
 function function1(): int
 {
 }

RemoveSuperfluousVarNameFixer — remove a superfluous variable name from a property @var

 /**
- * @​var string $property
+ * @​var string
  */
 private $property;

SingleLineInlineVarDocBlockFixer — collapse a multi-line inline @var doc block into a single line

-/**
- * @​var int $value
- */
+/** @​var int $value */
 $value = 1000;

SwitchedTypeAndNameFixer — reorder switched type and variable name in @param / @var

 /**
- * @​param $a string
- * @​param $b string|null
+ * @​param string $a
+ * @​param string|null $b
  */
 function test($a, string $b = null): string
 {
 }
Internals
  • Added an AbstractDocBlockFixer base class shared by the new fixers.
  • Removed MalformWorkerInterface and the MalformWorker/ implementations (DeadParamMalformWorker, InlineVarMalformWorker, ParamNameReferenceMalformWorker).
  • Each new fixer ships with its own test, fixtures, and config; the rule count in the README went from 14 → 23.

Full changelog: #​86

v13.1.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@forking-renovate forking-renovate Bot added the automerge Merge the pull request once unit tests and other checks pass. label Jun 9, 2026
@renovate-bot renovate-bot requested a review from a team as a code owner June 9, 2026 21:47
@renovate-bot renovate-bot added the automerge Merge the pull request once unit tests and other checks pass. label Jun 9, 2026
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 9, 2026
@renovate-bot renovate-bot changed the title fix(deps): update dependency symplify/coding-standard to v13.1.0 fix(deps): update dependency symplify/coding-standard to v13.1.1 Jun 10, 2026
@renovate-bot renovate-bot force-pushed the renovate/symplify-coding-standard-13.x branch from 26a33ae to 0846ccb Compare June 10, 2026 18:37
@gcf-merge-on-green

Copy link
Copy Markdown
Contributor

Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.

@gcf-merge-on-green gcf-merge-on-green Bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kokoro:force-run Add this label to force Kokoro to re-run the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant