Passed
Push — development ( 171f18...98bd13 )
by Thomas
02:07
created

Checkout Config

build:
    environment:
        php:
            version: 5.6
    dependencies:
        before:
            - cd htdocs/
            - composer install
            - cp app/config/parameters.yml.dist app/config/parameters.yml
    tests:
        override:
            -
                command: './bin/console code:sniff --xml'
                analysis:
                    file: './tests/cs-data'
                    format: 'php-cs-checkstyle'

filter:
    paths:
        - 'htdocs/*'
        - 'local/*'
    excluded_paths:
        - 'bin/*'
        - 'doc/*'
        - 'htdocs/okapi/*'
        - 'htdocs/resource2/tinymce/*'
        - 'htdocs/resource2/ocstyle/js/communicator-api/*'
        - 'htdocs/resource2/ocstyle/js/enlargeit/*'
        - 'htdocs/templates2/*'
    dependency_paths:
        - 'htdocs/vendor/*'

checks:
    php: true
    javascript: true

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
        - 'bin/*'
        - '*.tpl.php'
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
    javascript: true
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
            other:
                after_type_cast: false