keboola/sanitizer

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "keboola/sanitizer",
    "description": "Column name sanitizer",
    "minimum-stability": "stable",
    "license": "MIT",
    "authors": [
        {
            "name": "Keboola",
            "email": "devel@keboola.com"
        }
    ],    
    "require": {
        "php": ">=5.6"
    },
    "require-dev": {
        "jakub-onderka/php-parallel-lint": "^1.0",
        "squizlabs/php_codesniffer": "^3.4",
        "phpunit/phpunit": "^5.7"
    },
    "autoload": {
        "psr-4": {
            "Keboola\\Utils\\Sanitizer\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Keboola\\Utils\\Sanitizer\\Tests\\": "tests"
        }
    },
    "scripts": {
        "tests-phpunit": "phpunit  --coverage-clover ./build/logs/clover.xml",
        "phplint": "parallel-lint -j 10 --exclude vendor .",
        "phpcs": "phpcs --standard=psr2 -n --ignore=vendor --extensions=php .",
        "build": [
            "@phplint",
            "@phpcs",            
            "@tests-phpunit"
        ],
        "ci": [
            "@composer validate --no-check-publish --no-check-all",
            "@build"
        ]
    },
    "config": {
        "sort-packages": true,
        "optimize-autoloader": true
    }
}