composer.json
{
"name": "gin0115/wpunit-helpers",
"type": "library",
"description": "A series of helper classes, functions and traits for testing with WPUnit for WordPress",
"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": {
"Gin0115\\WPUnit_Helpers\\": "src/"
},
"files": []
},
"autoload-dev": {
"psr-4": {
"Gin0115\\WPUnit_Helpers\\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": "*",
"vlucas/phpdotenv": "^5.4"
},
"require": {
"php": ">=7.1.0",
"pinkcrab/function-constructors": "*",
"automattic/jetpack-constants": "*"
},
"scripts": {
"test": "phpunit --coverage-clover clover.xml --testdox",
"coverage": "phpunit --coverage-html coverage-report --testdox",
"analyse": "vendor/bin/phpstan analyse src -l8",
"sniff": "./vendor/bin/phpcs src/ -v",
"all": "composer test && composer analyse && composer sniff"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
}
}
}