Passed
Branch v4.1 (f3a0c7)
by Masiukevich
07:26
created

Checkout Config

filter:
  paths: [src/*]
  excluded_paths: [tests/*]
tools:
  php_analyzer: true
  php_sim: true
  php_pdepend: true
  sensiolabs_security_checker: true
  php_changetracking: true
  php_mess_detector:
    enabled: true
    config:
      ruleset:              ~
      code_size_rules:
        cyclomatic_complexity: true
        npath_complexity: true
        excessive_method_length: true
        excessive_class_length: true
        excessive_parameter_list: true
        excessive_public_count: true
        too_many_fields: true
        too_many_methods: true
        excessive_class_complexity: true
      design_rules:
        exit_expression: true
        eval_expression: true
        goto_statement: true
        number_of_class_children: true
        depth_of_inheritance: true
        coupling_between_objects: true
      unused_code_rules:
        unused_private_field: true
        unused_local_variable: true
        unused_private_method: true
        unused_formal_parameter: true
      naming_rules:
        short_variable:
          minimum: 3
        long_variable:
          maximum: 20
        short_method:
          minimum: 3
        constructor_conflict: true
        constant_naming: true
        boolean_method_name: true
      controversial_rules:
        superglobals: true
        camel_case_class_name: true
        camel_case_property_name: true
        camel_case_method_name: true
        camel_case_parameter_name: true
        camel_case_variable_name: true
  external_code_coverage:
    timeout: 600
checks:
  php:
    code_rating: true

build:
  nodes:
    analysis:
      environment:
        php:
          version: 7.4.5
      project_setup:
        override: true
      tests:
        override:
          - php-scrutinizer-run --enable-security-analysis

Repository Config

# language: php