PHP Classes
elePHPant
Icontem

File: php-git-hooks.yml

Recommend this page to a friend!
  Classes of Joseluis Laso  >  Simple PHP Memory Database  >  php-git-hooks.yml  >  Download  
File: php-git-hooks.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Memory Database
Manipulate databases stored in JSON format files
Author: By
Last change:
Date: 2 years ago
Size: 1,399 bytes
 

Contents

Class file image Download
pre-commit:
    enabled: true
    execute:
        composer: true
        jsonlint: true
        phplint: true
        phpmd:
            enabled: true
            options: null
        phpcs:
            enabled: true
            standard: PHPCS
        php-cs-fixer:
            enabled: true
            levels:
                psr0: true
                psr1: true
                psr2: true
                symfony: true
            options: null
        phpunit:
            enabled: true
            random-mode: true
            options: null
            strict-coverage:
                enabled: true
                minimum: !!float 0
            guard-coverage:
                enabled: true
                message: 'WARNING!!, your code coverage is lower.'
    message:
        right-message: 'HEY, GOOD JOB!!'
        error-message: 'FIX YOUR FUCKING CODE!!'
commit-msg:
    enabled: true
    regular-expression: '[#[0-9]{2,7}]'
pre-push:
    enabled: true
    execute:
        phpunit:
            enabled: true
            random-mode: true
            options: null
            strict-coverage:
                enabled: true
                minimum: !!float 0
            guard-coverage:
                enabled: true
                message: 'WARNING!!, your code coverage is lower.'
    message:
        right-message: 'PUSH IT!!'
        error-message: 'YOU CAN NOT PUSH CODE!!'