Skip to content

PHPCSStandards/schema.phpcodesniffer.com

schema.phpcodesniffer.com

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
    

Contributing

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.

About

Provide permalinks to the PHP_CodeSniffer XSD schema files

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages