Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( fb2035...95ed67 )
by Der Mundschenk
02:36
created

Checkout Config

filter:
    paths:
        - 'src/*'

build:
    cache:
        directories:
            - vendor        # Cache for already installed composer package -> speed up composer install
            - bin           # As vendor directory is cached, bin directory must be also cached (as some dependency will not installed if they are already present and so, related binary will not be linked)
            - ~/.composer   # Composer home directory (avoid fetching already fetched packages)

    environment:
        rabbitmq: false
        mysql: false
        postgresql: false
        mongodb: false
        elasticsearch: false
        redis: false
        memcached: false
        neo4j: false
        php:
            version: 7.1
    tests:
        override:
            # Define some variables.
            - COMMAND=vendor/bin/phpcs
            # Remvoe old analysis results.
            - rm -f /tmp/analysis_result_phpcs
            # Save version information.
            - echo "php_code_sniffer" > "${SCRUTINIZER_VERSION_FILE:-/dev/null}"
            - $COMMAND --version >> "${SCRUTINIZER_VERSION_FILE:-/dev/null}"
            - VERSION="unknown"
            - if [ -f "$SCRUTINIZER_VERSION_FILE" ]; then VERSION=$(cat $SCRUTINIZER_VERSION_FILE); fi
            # Print version information.
            - echo "Running $COMMAND --report=checkstyle $* ($VERSION)" >&2
            # Finally, run PHPCS.
            - $COMMAND --config-set installed_paths ../../wp-coding-standards/wpcs/,../../wimg/php-compatibility
            - $COMMAND -p src/ tests/ --ignore=tests/perf.php,tests/coverage --extensions=php --colors --report-checkstyle=/tmp/analysis_result_phpcs "$@" >&2 || true
            # Print & rmeove results file.
            - cat /tmp/analysis_result_phpcs
            - rm -f /tmp/analysis_result_phpcs
before_commands:
    - "composer install --no-interaction"

tools:
    php_code_sniffer: false

Repository Config

filter:
    excluded_paths:
        - 'tests/*'
checks:
    php:
        side_effects_or_types: false
        uppercase_constants: true
        simplify_boolean_return: true
        return_doc_comments: true
        return_doc_comment_if_not_inferrable: true
        remove_extra_empty_lines: true
        parameter_doc_comments: true
        encourage_single_quotes: true
        avoid_perl_style_comments: true
        avoid_multiple_statements_on_same_line: true
        avoid_todo_comments: true
        custom_coding_standard:
            ruleset_path: ./phpcs.xml

coding_style:
    php:
        indentation:
            general:
                use_tabs: true
        spaces:
            around_operators:
                concatenation: true
                negation: true
build: true