From 2192d26c6cae3bcfe80a53c02c4d22afa9814de2 Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Tue, 14 Apr 2020 19:31:25 +0200 Subject: [PATCH] Init --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 3eb6c9d..9699beb 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,12 @@ Library for Wp Desk Coding Standards in plugins. # Installation `composer require --dev wpdesk/wp-code-sniffer` + +# Usage + +Copy `phpcs.xml.dist` file to plugin root directory. Change `enter-plugin-text-domain-here` to plugin text domain. + +# PHP Storm + +Goto Settings->Languages & Frameworks->PHP->Quality Tools, in PHP_Codesniffer select Local in Configuration. Click `...` and empty path. Click OK. +Next open composer.json file and click `Update` (on top of file). \ No newline at end of file -- GitLab