Pink-Crab/WPDB_Migrations

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "pinkcrab/wp-db-migrations",
    "type": "library",
    "description": "Creates wpdb migrations as part of the PinkCrab Plugin Framework",
    "keywords": [],
    "homepage": "https://pinkcrab.co.uk",
    "license": "MIT",
    "authors": [{
        "name": "Glynn Quelch",
        "email": "glynn.quelch@pinkcrab.co.uk",
        "homepage": "http://clappo.co.uk",
        "role": "Developer"
    }],
    "autoload": {
        "psr-4": {
            "PinkCrab\\DB_Migration\\": "src"
        },
        "files": []
    },
    "autoload-dev": {
        "psr-4": {
            "PinkCrab\\DB_Migration\\Tests\\": "tests/"
        }
    },
    "require-dev": {
        "phpunit/phpunit": "^7.0 || ^8.0",
        "phpstan/phpstan": "^1.0",
        "szepeviktor/phpstan-wordpress": "^1.0",
        "php-stubs/wordpress-stubs": "^6.0 || ^5.9",
        "roots/wordpress": "^6.1",
        "wp-phpunit/wp-phpunit": "^6.1",
        "dealerdirect/phpcodesniffer-composer-installer": "*",
        "wp-coding-standards/wpcs": "*",
        "yoast/phpunit-polyfills": "^0.2.0 || ^1.0.0",
        "symfony/var-dumper": "*",
        "gin0115/wpunit-helpers": "~1",
        "vlucas/phpdotenv": "^5.4"
    },
    "require": {
        "php": ">=7.2.0",
        "pinkcrab/table_builder": "1.2.*"
    },
    "scripts": {
        "test": "phpunit --coverage-clover clover.xml --testdox  --colors=always",
        "coverage": "phpunit --coverage-html coverage-report  --testdox --colors=always",
        "analyse": "vendor/bin/phpstan analyse src -l8",
        "sniff": "vendor/bin/phpcs src/ -v",
        "all": "composer test && composer analyse && composer sniff"

    },
    "config": {
        "allow-plugins": {
            "roots/wordpress-core-installer": true,
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}