squizlabs / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
10.66k stars 1.48k forks source link

Add `security.md` file #3828

Closed jrfnl closed 9 months ago

jrfnl commented 1 year ago

Description

Add a security.md file containing information about how to report security issues and what versions of PHP_CodeSniffer are supported from a security point of view.

The file is placed in the .github directory. This will allow for it to be recognized correctly by GitHub, while not cluttering up the project root directory.

Suggested changelog entry

N/A

Related issues/external references

Ref: https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository

Types of changes

jrfnl commented 9 months ago

Closing as no longer relevant in https://github.com/PHPCSStandards/PHP_CodeSniffer, which has an organisation-wide SECURITY.md file.