shadiakiki1986/git-data-repo

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "shadiakiki1986/git-data-repo",
    "description": "Manage saving/loading data from php to a git data repository",
    "type": "library",
    "keywords": [ "git", "data", "repository", "data repository" ],
    "require": {
        "monolog/monolog": "^1.19",
        "coyl/git": "*"
    },
    "require-dev": {
        "phpunit/phpunit": "*",
        "jakub-onderka/php-parallel-lint": "^0.9",
        "codeclimate/php-test-reporter": "dev-master",
        "phpmd/phpmd": "^2.4",
        "squizlabs/php_codesniffer": "^2.6"
    },
    "autoload": {
        "psr-4" : { "GitDataRepo\\" : "src/" }
    },
    "autoload-dev": {
        "psr-4" : { "GitDataRepo\\" : "tests/" }
    },
    "scripts": {
        "test": [
            "parallel-lint . --exclude vendor",
            "./vendor/bin/phpmd . text cleancode,codesize,controversial,design,naming,unusedcode --exclude data,puphpet,vendor",
            "./vendor/bin/phpcs --standard=./phpcs.xml -np --report=summary .",
            "phpunit --verbose --coverage-clover build/logs/clover.xml",
            ": \"${CODECLIMATE_REPO_TOKEN:?Missing codeclimate token => will not publish report}\" && ./vendor/bin/test-reporter"
        ]
    }
}