From c6c7952520ae2ccb77a0cf3eef2486b11665d64b Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 16 Feb 2015 12:58:45 +0000 Subject: [PATCH] WordPress coding standard https://scrutinizer-ci.com/docs/tools/php/code-sniffer/standards --- .scrutinizer.yml | 45 +++------------------------------------------ 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 3d3e5668332..e4ff823f606 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -25,45 +25,6 @@ checks: tools: external_code_coverage: timeout: 600 - -coding_style: - php: - indentation: - general: - use_tabs: true - spaces: - around_operators: - negation: true - within: - brackets: true - array_initializer: true - grouping: true - function_call: true - function_declaration: true - if: true - for: true - while: true - switch: true - catch: true - braces: - classes_functions: - class: end-of-line - function: end-of-line - closure: end-of-line - if: - opening: end-of-line - for: - opening: end-of-line - while: - opening: end-of-line - do_while: - opening: end-of-line - switch: - opening: end-of-line - try: - opening: end-of-line - upper_lower_casing: - keywords: - general: lower - constants: - true_false_null: upper + php_code_sniffer: + config: + standard: "WordPress" \ No newline at end of file