What's new
✨ New TypeToVarTagFixer
Flips @type doc tag into @var, upgrading single-asterisk inline comments to real doc blocks.
-/* @type \Mautic\ReportBundle\Model\ReportModel $model */
+/** @var \Mautic\ReportBundle\Model\ReportModel $model */
$model = ...;✨ New MergeDocBlockStartFixer
Fixes docblocks opened with /* instead of /** and strips empty *-only lines.
-/*
- *
- * @return $this
- */
+/**
+ * @return $this
+ */✨ New RemoveEventSubscriberDescriptionFixer
Removes redundant subscriber-method docblocks that just repeat the method name + "event".
-/**
- * Delete lead event
- */
public function onLeadDelete(LeadEvent $event): bool🐛 Remove getter/setter verb-mismatch docblock description
RemoveMethodNameDuplicateDescriptionFixer now drops * Get results. above setResults() (get/set mix-up carries no info).
✅ Cover RemoveDeadParamFixer for anonymous functions
-/**
- * @param $mappedFields
- * @param $fieldType
- */
$cleanup = function (array &$mappedFields, string $fieldType) {
};🐛 Fix PHPStan env-dependent token constant error
Scope PHPStan ignores for T_OPEN_CURLY_BRACKET (PHP_CodeSniffer constant) across environments.