From 5bea8bca98ceca30735e005a5fdf13fa9fbea311 Mon Sep 17 00:00:00 2001 From: crynobone Date: Mon, 30 Sep 2013 10:17:44 +0800 Subject: [PATCH] Add scrutinizer-ci. Signed-off-by: crynobone --- .gitattributes | 1 + .scrutinizer.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .scrutinizer.yml diff --git a/.gitattributes b/.gitattributes index e6a345b..3644482 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,7 @@ /tests export-ignore /.coveralls.yml export-ignore /.gitignore export-ignore +/.scrutinizer.yml export-ignore /.travis.yml export-ignore /Guardfile export-ignore /LICENSE.md export-ignore diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..c496afd --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,28 @@ +before_commands: + - 'composer install --prefer-source --no-interaction --dev' +filter: + paths: + - 'src/*' + excluded_paths: + - 'build/*' + - 'vendor/*' + - 'tests/*' +tools: + php_mess_detector: true + php_code_sniffer: + config: + standard: PSR1 + php_code_coverage: + config_path: phpunit.xml + php_cpd: + excluded_dirs: + - vendor + - tests + php_loc: + excluded_dirs: + - vendor + - tests + php_pdepend: + excluded_dirs: + - vendor + - tests