0

How can I disable this option from phpcsfixer? I want to use :

   /**
    * @var ObjectType $object
    */

But not,

/**@var ObjectType $type*/

But phpcsfixer will remove the variable name in the first case

JessGabriel
  • 1,062
  • 9
  • 18

1 Answers1

1

Simply add

'phpdoc_var_without_name' => false

to your config.

kuba
  • 3,670
  • 3
  • 31
  • 41