From c4ef0bf3a42892e8c395cef6c72fbb1232d12344 Mon Sep 17 00:00:00 2001 From: Abdelrahman Omran Date: Mon, 6 Mar 2017 22:14:20 +0200 Subject: [PATCH] Update StyleCI fixers and other supplementary files --- .codeclimate.yml | 1 + .gitignore | 6 +++--- .scrutinizer.yml | 6 ++++++ .styleci.yml | 18 +++++++++++++----- 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.codeclimate.yml b/.codeclimate.yml index 02c719f..2f1f83d 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -37,6 +37,7 @@ ratings: - "**.py" - "**.rb" exclude_paths: +- "resources/*" - "build/*" - "tests/*" - "vendor/*" diff --git a/.gitignore b/.gitignore index fd82025..33c5001 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -build/ -vendor/ -node_modules/ +/build +/vendor +/node_modules composer.lock composer.phar phpunit.xml diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 692d140..51ec781 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -112,6 +112,7 @@ checks: filter: excluded_paths: - 'build/*' + - 'resources/*' - 'tests/*' - 'vendor/*' @@ -135,6 +136,7 @@ tools: filter: excluded_paths: - 'build/*' + - 'resources/*' - 'tests/*' - 'vendor/*' @@ -144,6 +146,7 @@ tools: enabled: true excluded_dirs: - 'build' + - 'resources' - 'tests' - 'vendor' @@ -153,6 +156,7 @@ tools: enabled: true excluded_dirs: - 'build' + - 'resources' - 'tests' - 'vendor' @@ -171,6 +175,7 @@ tools: excluded_paths: - 'build/*' - 'tests/*' + - 'resources/*' - 'vendor/*' @@ -179,6 +184,7 @@ tools: enabled: true excluded_dirs: - 'build' + - 'resources' - 'tests' - 'vendor' diff --git a/.styleci.yml b/.styleci.yml index de7f7b9..1baf2fb 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,12 +1,20 @@ preset: recommended -risky: false -linting: true enabled: - - not_operator_with_successor_space + - dir_constant + - ereg_to_preg + - mb_str_functions - no_short_echo_tag + - strict_comparison + - phpdoc_link_to_see + - no_php4_constructor + - declare_strict_types + - unalign_double_arrow + - length_ordered_imports + - modernize_types_casting + - return_type_declaration + - not_operator_with_successor_space disabled: - - ordered_imports - - phpdoc_no_package - align_double_arrow + - alpha_ordered_imports