From d9e3e18900c528b085901b35aed140b10851383b Mon Sep 17 00:00:00 2001 From: Jon McPartland <2131911+jonmcp@users.noreply.github.com> Date: Tue, 6 Dec 2022 10:46:44 +0000 Subject: [PATCH] Update README.md Add global installation instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a4acf30..396776c 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,19 @@ Create a `.phpcs.xml.dist` file in your project and add the following, replacing ``` +Alternatively, you can install the standard globally: +```bash +composer global require --dev bigbite/phpcs-config +``` + +And reference the standard directly within your `.phpcs.xml.dist`: +```xml + + + + +``` + ## Developing Please note that the PHPUnit test suite is not yet compatible with PHP 8.*.