Passed
Push — main ( 223ead...e5cf91 )
by Mr.
47s queued 10s
created

Checkout Config

filter:
  paths:
    - src/*
before_commands:
  - 'composer install --optimize-autoloader'
checks:
  php:
    code_rating: true
    duplication: true
build:
  nodes:
    analysis:
      dependencies:
        after:
          - composer require --dev "squizlabs/php_codesniffer=3.5.8"
      environment:
        php:
          version: 7.4
      tests:
        override:
          - php-scrutinizer-run
          -
            command: phpcs-run
            use_website_config: false
    coverage:
      environment:
        php:
          version: 7.4
      tests:
        override:
          -
            command: 'composer test'
            coverage:
              file: 'build/logs/clover.xml'
              format: 'clover'
tools:
  external_code_coverage: false
  php_mess_detector: true
  php_code_sniffer:
    config:
      standard: PSR12
  sensiolabs_security_checker: true
  php_code_coverage: true
  php_pdepend: true
  php_loc:
    enabled: true
    excluded_dirs:
      - tests
      - vendor
  php_cpd:
    enabled: true
    excluded_dirs:
      - tests
      - vendor

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: 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: {  }