Completed
Pull Request — master (#123)
by X
08:45
created

Checkout Config

checks:
  php: true
filter:
  excluded_paths:
    - bin/*
    - generated/*
    - test/*
build:
  environment:
    php:
      version: 7.3
  nodes:
    analysis: # https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#security-analysis
      project_setup:
        override: true
      tests:
        override:
          - php-scrutinizer-run --enable-security-analysis
    coverage:    # https://scrutinizer-ci.com/docs/build/code_coverage
      tests:
        override:
          -
            command: composer test
            coverage:
              file: report/coverage/clover.xml
              format: php-clover

Repository Config

filter:
    excluded_paths:
        - 'test/*'
checks:
    php:
        use_self_instead_of_fqcn: true
        uppercase_constants: true
        simplify_boolean_return: true
        return_doc_comments: true
        return_doc_comment_if_not_inferrable: true
        phpunit_assertions: true
        parameter_doc_comments: true
        param_doc_comment_if_not_inferrable: true
        no_goto: true
        fix_use_statements:
            remove_unused: true
            preserve_multiple: false
            preserve_blanklines: true
            order_alphabetically: true
        encourage_single_quotes: true
        check_method_contracts:
            verify_interface_like_constraints: true
            verify_documented_constraints: true
            verify_parent_constraints: true
        avoid_perl_style_comments: true

coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
            other:
                after_type_cast: false
build: true