From 56a9e65107d04cf616c8ae2a767beba32962376f Mon Sep 17 00:00:00 2001 From: Ramesh Mhetre Date: Mon, 2 Jul 2018 16:04:48 +0200 Subject: [PATCH] Scrutinizer file added Signed-off-by: Ramesh Mhetre --- .gitignore | 7 ++++++- .scrutinizer.yml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .scrutinizer.yml diff --git a/.gitignore b/.gitignore index 8b7ef35..964867d 100755 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -/vendor +build composer.lock +docs +vendor +coverage +coverage.xml +.idea/ \ No newline at end of file diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..232819c --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,33 @@ +filter: + paths: [src/*] +checks: + php: + code_rating: true + remove_extra_empty_lines: true + remove_php_closing_tag: true + remove_trailing_whitespace: true + fix_use_statements: + remove_unused: true + preserve_multiple: false + preserve_blanklines: true + order_alphabetically: true + fix_php_opening_tag: true + fix_linefeed: true + fix_line_ending: true + fix_identation_4spaces: true + fix_doc_comments: true +tools: + php_code_coverage: true + php_code_sniffer: + config: + standard: PSR2 + filter: + paths: ['src'] + php_loc: + enabled: true + php_cpd: + enabled: true +build: + environment: + php: + version: 7.1 \ No newline at end of file