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
Adding the
coding-stylelevel, I get this result that, too me, seems like it "doing too much" (the code was perfectly fine and respecting coding standards, IMHO) :