Php-cs-fixer: phpdoc_no_* fixers should be replaced by configurable fixer

Created on 14 Aug 2019  路  3Comments  路  Source: FriendsOfPHP/PHP-CS-Fixer

The fixers, phpdoc_no_package and phpdoc_no_access could be deprecated in favour of a fixer that removes phpDoc tags according to a configurable list. In this way it would be easy to enforce omission of arbitrary annotations, such as @author and @copyright instead of relying on predefined fixers to suffice.

kincleanup

All 3 comments

yes please :)

afaik, this is the purpose of general_phpdoc_annotation_remove rule.

Yeah both fixers are proxied to the generic, I'm in favor of deprecating the rules and remove these on 3.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aidantwoods picture aidantwoods  路  3Comments

amitbisht511 picture amitbisht511  路  3Comments

carusogabriel picture carusogabriel  路  3Comments

teohhanhui picture teohhanhui  路  3Comments

UksusoFF picture UksusoFF  路  3Comments