From 71dbc70cd3b1c834731f7490765d9e9f47029f50 Mon Sep 17 00:00:00 2001 From: Oleg Kasyanov Date: Tue, 31 Dec 2019 18:08:08 +0400 Subject: [PATCH] Updated configuration --- .gitattributes | 3 +- .scrutinizer.yml | 2 +- .styleci.yml | 109 ----------------------------------------------- 3 files changed, 2 insertions(+), 112 deletions(-) delete mode 100644 .styleci.yml diff --git a/.gitattributes b/.gitattributes index 43d8ba4..42ca420 100644 --- a/.gitattributes +++ b/.gitattributes @@ -9,10 +9,9 @@ /.gitattributes export-ignore /.gitignore export-ignore /.scrutinizer.yml export-ignore -/.styleci.yml export-ignore /.travis.yml export-ignore /composer.lock export-ignore /phpcs.xml export-ignore /phpunit.xml.dist export-ignore /psalm.xml.dist export-ignore -/test/ export-ignore +/tests/ export-ignore diff --git a/.scrutinizer.yml b/.scrutinizer.yml index ea3ff69..e1a0aa5 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -7,7 +7,7 @@ build: filter: excluded_paths: - - 'test/*' + - 'tests/*' tools: external_code_coverage: true diff --git a/.styleci.yml b/.styleci.yml deleted file mode 100644 index a28e922..0000000 --- a/.styleci.yml +++ /dev/null @@ -1,109 +0,0 @@ -preset: none - -enabled: - - binary_operator_spaces - - blank_line_after_namespace - - blank_line_after_opening_tag - - blank_line_before_declare - - blank_line_before_try - - braces - - class_definition - - combine_consecutive_issets - - combine_consecutive_unsets - - combine_nested_dirname - - comment_to_phpdoc - - compact_nullable_typehint - - concat_with_spaces - - const_visibility_required - - declare_strict_types - - dir_constant - - elseif - - encoding - - explicit_string_variable - - final_internal_class - - full_opening_tag - - fully_qualified_strict_types - - function_declaration - - function_to_constant - - function_typehint_space - - hash_to_slash_comment - - implode_call - - include - - indentation - - is_null - - linebreak_after_opening_tag - - logical_operators - - lowercase_constants - - lowercase_keywords - - lowercase_static_reference - - magic_constant_casing - - magic_method_casing - - method_argument_space - - method_separation - - method_visibility_required - - modernize_types_casting - - multiline_comment_opening_closing - - native_function_casing - - no_alias_functions - - no_alternative_syntax - - no_blank_lines_after_class_opening - - no_blank_lines_after_phpdoc - - no_blank_lines_after_return - - no_blank_lines_after_throw - - no_closing_tag - - no_empty_comment - - no_empty_phpdoc - - no_empty_statement - - no_extra_block_blank_lines - - no_extra_consecutive_blank_lines - - no_leading_import_slash - - no_leading_namespace_whitespace - - no_null_property_initialization - - no_php4_constructor - - no_short_bool_cast - - no_singleline_whitespace_before_semicolons - - no_spaces_after_function_name - - no_spaces_inside_parenthesis - - no_trailing_comma_in_list_call - - no_trailing_comma_in_singleline_array - - no_trailing_whitespace - - no_trailing_whitespace_in_comment - - no_unneeded_control_parentheses - - no_unneeded_curly_braces - - no_unneeded_final_method - - no_unreachable_default_argument_value - - no_unset_on_property - - no_unused_imports - - no_useless_else - - no_useless_return - - no_whitespace_before_comma_in_array - - no_whitespace_in_blank_line - - non_printable_character - - normalize_index_brace - - not_operator_with_successor_space - - object_operator_without_whitespace - - phpdoc_add_missing_param_annotation - - phpdoc_indent - - phpdoc_scalar - - phpdoc_types - - property_separation - - property_visibility_required - - psr4 - - self_accessor - - short_array_syntax - - short_scalar_cast - - single_blank_line_at_eof - - single_blank_line_before_namespace - - single_class_element_per_statement - - single_line_after_imports - - single_quote - - standardize_not_equals - - switch_case_semicolon_to_colon - - switch_case_space - - ternary_operator_spaces - - ternary_to_null_coalescing - - trailing_comma_in_multiline_array - - unix_line_endings - - whitespace_after_comma_in_array - -risky: true