Skip to content

Ability to customise $checkedTokens in Generic.CodeAnalysis.EmptyStatement from within a custom rule #314

@u01jmg3

Description

@u01jmg3

e.g.

<rule ref="Generic.CodeAnalysis.EmptyStatement"> <properties> <property name="checkedTokens" type="array" value="T_CATCH,T_DO,T_ELSE,T_ELSEIF,T_FOR,T_FOREACH,T_SWITCH,T_TRY,T_WHILE" /> </properties> </rule>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions