This repository is set up to automatically update the https://schema.phpcodesniffer.com/ "website".
https://schema.phpcodesniffer.com/ provides permalinks to the PHP_CodeSniffer ruleset XSD file.
- The latest version of the XSD file will always be available at: https://schema.phpcodesniffer.com/phpcs.xsd
- The XSD file for each PHP_CodeSniffer minor since PHPCS 3.2.0 can be found at the following permalink(s):
// Replace "#.#" with the minor you are targetting. https://schema.phpcodesniffer.com/#.#/phpcs.xsd // Example for the XSD file for PHP_CodeSniffer 3.13.x: https://schema.phpcodesniffer.com/3.13/phpcs.xsd
The script which generates the "website" is a combination between the code in src
and a workflow in the .github/workflows
folder.
The _site
directory is auto-generated by that script and should never be "manually" updated.
To contribute, fork this repo, create a new branch, make your changes and submit a pull request. Or open an issue to discuss the proposed change ahead of the PR.