PHP-CS-Fixer icon indicating copy to clipboard operation
PHP-CS-Fixer copied to clipboard

Phpdoc property description is not aligned

Open mvorisek opened this issue 3 years ago • 0 comments

Bug report

Code snippet that reproduces the problem

in https://github.com/atk4/ui/blob/5a1a59fb87bd04e6793c74387af48c2ebf62ec5d/demos/_includes/DemoActionsUtil.php#L13 the phpdoc is not aligned correctly.

I expect:

 /**
- *  @property string $age           @Atk4\Field()
+ * @property string $age    @Atk4\Field()
- *  @property string $city          @Atk4\Field()
+ * @property string $city   @Atk4\Field()
- *  @property string $gender        @Atk4\Field()
+ * @property string $gender @Atk4\Field()
  */
 class ArgModel extends Model
 {

(one space after *, one (but aligned) space after property/variable)

run /w the latest PHP CS Fixer using https://github.com/atk4/ui/blob/f8278d6934559eb8efd8f86013f39cc95bdb1475/.php-cs-fixer.dist.php configuration

mvorisek avatar May 22 '22 10:05 mvorisek