Passed
Pull Request — master (#523)
by Jakub
03:36
created

Checkout Config

inherit: true

build:
  environment:
    php:
      version: 8.2
    variables:
      XDEBUG_MODE: coverage
  tests:
    override:
    - make phpunit
  project_setup:
  nodes:
    coverage:
      tests:
        override:
        - command: make phpunit
          coverage:
            file: build/coverage.xml
            format: clover
filter:
  paths: [src/*]

build_failure_conditions:
- 'elements.rating(<= B).new.exists'
- 'issues.label("coding-style").new.exists'
- 'issues.severity(>= MAJOR).new.exists'

checks:
  php: true

tools:
  php_code_sniffer: false
  php_cs_fixer: { config: { level: psr2 } }
  external_code_coverage: false
  php_code_coverage: true
  php_changetracking: true
  php_sim: true
  php_mess_detector: true
  php_pdepend: true
  php_analyzer: true
  sensiolabs_security_checker: true

coding_style:
  php:
    spaces:
      within:
        brackets: false
      before_parentheses:
        closure_definition: true

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
        tests: true
checks:
    php:
        fix_php_opening_tag: false
        remove_php_closing_tag: false
        one_class_per_file: false
        side_effects_or_types: false
        no_mixed_inline_html: false
        require_braces_around_control_structures: false
        php5_style_constructor: false
        no_global_keyword: false
        avoid_usage_of_logical_operators: false
        psr2_class_declaration: false
        no_underscore_prefix_in_properties: false
        no_underscore_prefix_in_methods: false
        blank_line_after_namespace_declaration: false
        single_namespace_per_use: false
        psr2_switch_declaration: false
        psr2_control_structure_declaration: false
        avoid_superglobals: false
        security_vulnerabilities: false
        no_exit: false
coding_style:
    php: {  }
filter: {  }