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