From eccf89ae5c4a192ff5f6b00eac6eb4db9abe1258 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Thu, 16 Mar 2017 13:16:39 +0100 Subject: [PATCH] Skip shibboleth code --- .codeclimate.yml | 1 + .scrutinizer.yml | 55 +++++++++--------------------------------------- 2 files changed, 11 insertions(+), 45 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 7bd740880a..ac4ffe2374 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -33,6 +33,7 @@ exclude_paths: - app/Resources/ - main/admin/db.php - main/auth/cas/lib/CAS/ +- main/auth/shibboleth - main/inc/lib/browser/ - main/inc/lib/freemindflashbrowser/ - main/inc/lib/internationalization_database/ diff --git a/.scrutinizer.yml b/.scrutinizer.yml index f916fb7c08..63bb3519bf 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -11,42 +11,6 @@ build: 'phar.readonly': false hosts: my.chamilodev.net: '127.0.0.1' -filter: - excluded_paths: - - 'app/cache/*' - - 'app/logs/*' - - 'documentation/*' - - 'app/Migrations/*' - - 'app/Resources/*' - - 'main/admin/db.php' - - 'main/auth/cas/lib/CAS/*' - - 'main/inc/lib/browser/*' - - 'main/inc/lib/freemindflashbrowser/*' - - 'main/inc/lib/internationalization_database/*' - - 'main/inc/lib/javascript/*' - - 'main/inc/lib/kses-0.2.2/*' - - 'main/inc/lib/mimetex/*' - - 'main/inc/lib/nanogong/*' - - 'main/inc/lib/nusoap/*' - - 'main/inc/lib/opengraph/*' - - 'main/inc/lib/ppt2png/*' - - 'main/inc/lib/phpseclib' - - 'main/inc/lib/pear/*' - - 'main/inc/lib/phpmailer/*' - - 'main/inc/lib/phpseclib/*' - - 'main/inc/lib/svg-edit/*' - - 'main/inc/lib/swfobject/*' - - 'main/inc/lib/wami-recorder/*' - - 'main/inc/lib/xajax/*' - - 'main/lp/packaging/*' - - 'main/template/*' - - 'main/img/*' - - 'main/lang/*' - - 'main/default_course_document' - - 'fonts' - - 'tests/*' - - 'vendor/*' - - 'web/*' checks: php: no_trailing_whitespace: true @@ -119,15 +83,15 @@ coding_style: constants: true_false_null: lower -tools: - php_mess_detector: - enabled: true - extensions: - - php - command: phpmd - config: - rulesets: - - codesize +#tools: +# php_mess_detector: +# enabled: true +# extensions: +# - php +# command: phpmd +# config: +# rulesets: +# - codesize # php_analyzer: # enabled: true @@ -168,6 +132,7 @@ filter: - 'app/Resources/*' - 'main/admin/db.php' - 'main/auth/cas/lib/CAS/*' + - 'main/auth/shibboleth' - 'main/inc/lib/browser/*' - 'main/inc/lib/freemindflashbrowser/*' - 'main/inc/lib/internationalization_database/*'