diff --git a/.gitattributes b/.gitattributes index 68d22c9..256ce94 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,7 +8,6 @@ # Remove all dot files for export .editorconfig export-ignore .php_cs export-ignore -.scrutinizer.yml export-ignore .travis.yml export-ignore diff --git a/.gitignore b/.gitignore index a13545d..e690eac 100644 --- a/.gitignore +++ b/.gitignore @@ -33,5 +33,4 @@ composer.phar !/.git* !/.travis.yml !/.php_cs -!/.scrutinizer.yml !/.editorconfig diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index a188d1a..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,78 +0,0 @@ ---- -build: - environment: - php: - version: 7.0.8 -filter: - paths: [ src/* ] - excluded_paths: - - docs/* - - vendor/* -checks: - php: - code_rating: true - duplication: true - uppercase_constants: true - single_namespace_per_use: true - side_effects_or_types: true - security_vulnerabilities: true - return_doc_comments: true - return_doc_comment_if_not_inferrable: true - require_php_tag_first: true - remove_extra_empty_lines: true - psr2_class_declaration: true - parameter_doc_comments: true - param_doc_comment_if_not_inferrable: true - one_class_per_file: true - no_underscore_prefix_in_properties: true - no_trait_type_hints: true - no_trailing_whitespace: true - no_short_variable_names: - minimum: '3' - no_short_open_tag: true - no_property_on_interface: true - no_commented_out_code: true - naming_conventions: - local_variable: '^[a-z][a-zA-Z0-9]*$' - abstract_class_name: ^Abstract|Factory$ - utility_class_name: 'Utils?$' - constant_name: '^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$' - property_name: '^[a-z][a-zA-Z0-9]*$' - method_name: '^(?:[a-z]|__)[a-zA-Z0-9]*$' - parameter_name: '^[a-z][a-zA-Z0-9]*$' - interface_name: '^[A-Z][a-zA-Z0-9]*$' - type_name: '^[A-Z][a-zA-Z0-9]*$' - exception_name: '^[A-Z][a-zA-Z0-9]*Exception$' - isser_method_name: '^(?:is|has|should|may|supports)' - line_length: - max_length: '120' - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: false - order_alphabetically: true - fix_line_ending: true - fix_doc_comments: true - avoid_todo_comments: true - newline_at_end_of_file: true - more_specific_types_in_doc_comments: true - avoid_fixme_comments: true - avoid_multiple_statements_on_same_line: true - avoid_perl_style_comments: true -tools: - php_code_sniffer: - filter: - excluded-paths: [ spec/*, examples/* ] - config: - standard: PSR2 - - php_analyzer: - filter: - excluded-paths: [ spec/*, examples/* ] - - php_sim: - filter: - excluded-paths: [ spec/*, examples/* ] - -build_failure_conditions: - - 'issues.label("coding-style").new.exists'