Skip to content

[CodingStyle] Rector\CodingStyle\Rector\ClassConst\VarConstantCommentRector does too much #1636

@gnutix

Description

@gnutix

Adding the coding-style level, I get this result that, too me, seems like it "doing too much" (the code was perfectly fine and respecting coding standards, IMHO) :

    ---------- begin diff ----------
--- Original
+++ New
@@ -45,8 +45,7 @@
      *
      * Some text comment
-     *
-     * @var string[]
+     * @var \string[]
      */
     private const CONTROLS_MAPPING = [
         StringControl::class => StringControlType::class,
    ----------- end diff -----------

Applied rectors:

 * Rector\CodingStyle\Rector\ClassConst\VarConstantCommentRector

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions