From 5bba746c6620b5f78c214ebf114846f64f857c69 Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Fri, 8 Dec 2023 11:38:05 -0700 Subject: [PATCH] Readme update for phpcs --- docs/local.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/local.md b/docs/local.md index 71037fb92..f005c2d3c 100644 --- a/docs/local.md +++ b/docs/local.md @@ -62,3 +62,9 @@ In order to get IntelliSense to work you will need to do these steps: 1. You may need to reload your code editor once you have added both include paths. +## Code Standards +We are using `WordPress-VIP-Go` as the code standard. Follow the install instructions on [WP VIP](https://docs.wpvip.com/how-tos/php_codesniffer/) to set up `phpcs`. + +Once that is all set up, copy the file `phpcs.xml.dist` in the goodbids repo and save it as `phpcs.xml` + +Set your `phpcs` standard to point to `/Absolute/Path/To/goodbids/.phpcs.xml",`