Skip to content

WPCS/I18n refactor breaks HM-Minimum on PHP 8.2 #308

Open
@benjaminprojas

Description

@benjaminprojas

WPCS recently deprecated a temporary property called check_translator_comments that is currently being used in the HM-Minimum ruleset.

Commit details here: WordPress/WordPress-Coding-Standards@31064cf

Affected code is here:

<rule ref="WordPress.WP.I18n">
<properties>
<property name="check_translator_comments" value="false" />
</properties>

I think the solution is as easy as:

<rule ref="WordPress.WP.I18n">
	<exclude name="WordPress.WP.I18n.MissingTranslatorsComment" />
	...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions