From 638807edc8a383644a5c14b2105b7717101c0b6a Mon Sep 17 00:00:00 2001 From: Sean Date: Tue, 16 Feb 2016 20:08:47 +0000 Subject: [PATCH] removing files --- .php_cs | 98 ------------------------------------------------- .travis.yml | 4 -- scrutinizer.yml | 34 ----------------- 3 files changed, 136 deletions(-) delete mode 100644 .php_cs delete mode 100644 scrutinizer.yml diff --git a/.php_cs b/.php_cs deleted file mode 100644 index fa8f953a8..000000000 --- a/.php_cs +++ /dev/null @@ -1,98 +0,0 @@ -in(__DIR__) - ->exclude('src/config') - ->ignoreDotFiles(true); - -$header = << - -For the full copyright and license information, please view the LICENSE -file that was distributed with this source code. -EOF; - -Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header); - -$fixers = [ - '-psr0', - 'alias_functions', - 'array_element_no_space_before_comma', - 'array_element_white_space_after_comma', - 'blankline_after_open_tag', - 'braces', - 'concat_with_spaces', - 'double_arrow_multiline_whitespaces', - 'duplicate_semicolon', - 'elseif', - 'empty_return', - 'encoding', - 'eof_ending', - 'extra_empty_lines', - 'function_call_space', - 'function_declaration', - 'function_typehint_space', - 'header_comment', - 'include', - 'indentation', - 'line_after_namespace', - 'linefeed', - 'list_commas', - 'logical_not_operators_with_successor_space', - 'lowercase_constants', - 'lowercase_keywords', - 'method_argument_space', - 'method_separation', - 'multiline_array_trailing_comma', - 'multiline_spaces_before_semicolon', - 'multiple_use', - 'namespace_no_leading_whitespace', - 'no_blank_lines_after_class_opening', - 'no_empty_lines_after_phpdocs', - 'object_operator', - 'operators_spaces', - 'parenthesis', - 'phpdoc_indent', - 'phpdoc_inline_tag', - 'phpdoc_no_access', - 'phpdoc_no_package', - 'phpdoc_scalar', - 'phpdoc_short_description', - 'phpdoc_summary', - 'phpdoc_to_comment', - 'phpdoc_trim', - 'phpdoc_type_to_var', - 'phpdoc_types', - 'phpdoc_var_without_name', - 'psr4', - 'remove_leading_slash_use', - 'remove_lines_between_uses', - 'return', - 'self_accessor', - 'short_array_syntax', - 'short_echo_tag', - 'short_tag', - 'single_array_no_trailing_comma', - 'single_line_after_imports', - 'single_quote', - 'spaces_after_semicolon', - 'spaces_before_semicolon', - 'spaces_cast', - 'standardize_not_equal', - 'ternary_spaces', - 'trailing_spaces', - 'trim_array_spaces', - 'unalign_double_arrow', - 'unalign_equals', - 'unary_operators_spaces', - 'unused_use', - 'visibility', - 'whitespacy_lines', -]; - -return Symfony\CS\Config\Config::create() - ->level(Symfony\CS\FixerInterface::NONE_LEVEL) - ->fixers($fixers) - ->finder($finder); diff --git a/.travis.yml b/.travis.yml index 78cbbb648..2e789ebb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,3 @@ before_script: script: - phpunit --coverage-text --coverage-clover=coverage.clover - -after_script: - - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi;' - - sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi;' diff --git a/scrutinizer.yml b/scrutinizer.yml deleted file mode 100644 index 73308fcaa..000000000 --- a/scrutinizer.yml +++ /dev/null @@ -1,34 +0,0 @@ -filter: - excluded_paths: [tests/*] -checks: - php: - code_rating: true - remove_extra_empty_lines: true - remove_php_closing_tag: true - remove_trailing_whitespace: true - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: true - order_alphabetically: true - fix_php_opening_tag: true - fix_linefeed: true - fix_line_ending: true - fix_identation_4spaces: true - fix_doc_comments: true -tools: - external_code_coverage: - timeout: 1800 - runs: 3 - php_code_coverage: false - php_code_sniffer: - config: - standard: PSR2 - filter: - paths: ['src'] - php_loc: - enabled: true - excluded_dirs: [vendor, tests] - php_cpd: - enabled: true - excluded_dirs: [vendor, tests]