From 45a99982276949a4ad1b37695c0a536a788ba7ec Mon Sep 17 00:00:00 2001 From: Emily Fueger Date: Tue, 6 Oct 2020 09:31:16 -0400 Subject: [PATCH] Update readme to include PSR12 instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 6e7a2bc..0560e53 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,19 @@ In addition to standards provided by [default](https://github.com/squizlabs/PHP_ * Yii2 * Zend +--- + +* To use the PSR12 standard, you'll need to specify the `beta` channel in your .codeclimate.yml: + +``` +plugins: + phpcodesniffer: + enabled: true + channel: beta + config: + standard: "PSR12" +``` + ### Need help? For help with PHP_CodeSniffer, [check out their documentation](https://github.com/squizlabs/PHP_CodeSniffer).