Skip to content

Support Forums: Standardize loader and constructor style#685

Closed
dd32 wants to merge 1 commit into
WordPress:trunkfrom
dd32:issue/2214-support-lint-cleanup
Closed

Support Forums: Standardize loader and constructor style#685
dd32 wants to merge 1 commit into
WordPress:trunkfrom
dd32:issue/2214-support-lint-cleanup

Conversation

@dd32
Copy link
Copy Markdown
Member

@dd32 dd32 commented Jun 8, 2026

Follow-up to #677 / https://meta.trac.wordpress.org/ticket/2214.

This standardizes the support-forums loader and no-argument component instantiations so the active PHPCS rules pass without local suppressions:

  • converts support-forums loader includes from parenthesized include calls to include statements
  • converts support-forums no-argument component instantiations from bare new Foo to new Foo()

No behavior changes intended.

Updates support-forums class loading and no-argument component instantiation style to satisfy PHPCS after the support badge automation changes. Follow-up to https://meta.trac.wordpress.org/ticket/2214.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 8, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props dd32.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@bazza bazza closed this in 50392cc Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant