Skip to content

Comments

Ruleset file: add schema tags to the ruleset#65

Merged
jrfnl merged 1 commit intomasterfrom
feature/ruleset-add-schema-url
Jun 13, 2025
Merged

Ruleset file: add schema tags to the ruleset#65
jrfnl merged 1 commit intomasterfrom
feature/ruleset-add-schema-url

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 13, 2025

As of PHPCS 3.2.0, PHPCS offers an XSD schema for rulesets which defines what can be used in the XML ruleset file.

As of a couple of weeks ago, the XSD schema is now available via permalinks.

This commit adds the relevant schema tags to the PHPCS Ruleset file(s).

Refs:

As of PHPCS 3.2.0, PHPCS offers an XSD schema for rulesets which defines what can be used in the XML ruleset file.

As of a couple of weeks ago, the XSD schema is now available via permalinks.

This commit adds the relevant schema tags to the PHPCS Ruleset file(s).

Refs:
* squizlabs/PHP_CodeSniffer 1433
* https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.2.0
* PHPCSStandards/PHP_CodeSniffer 1094
* https://github.com/PHPCSStandards/schema.phpcodesniffer.com
@jrfnl jrfnl added this to the 2.x Next milestone Jun 13, 2025
@jrfnl jrfnl merged commit ab217cf into master Jun 13, 2025
9 checks passed
@jrfnl jrfnl deleted the feature/ruleset-add-schema-url branch June 13, 2025 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant