Skip to content

Instantly share code, notes, and snippets.

@MZAWeb
Created June 7, 2013 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MZAWeb/5727091 to your computer and use it in GitHub Desktop.
Save MZAWeb/5727091 to your computer and use it in GitHub Desktop.
composer.json file to install WP_Mock and it's dependencies
{
"repositories": [
{
"type" : "package",
"package": {
"name" : "hamcrest/hamcrest",
"version" : "1.1.0",
"dist" : {
"type": "zip",
"url" : "https://hamcrest.googlecode.com/files/hamcrest-php-1.1.0.zip"
},
"include-path": ["Hamcrest-1.1.0/"],
"autoload" : {
"psr-0": {
"Hamcrest_": "Hamcrest-1.1.0/"
},
"files": ["Hamcrest-1.1.0/Hamcrest/Hamcrest.php"]
}
}
},
{
"type" : "package",
"package": {
"name" : "10up/wp_mock",
"version" : "dev-master",
"source" : {
"url" : "https://github.com/10up/wp_mock.git",
"type" : "git",
"reference": "master"
},
"autoload": {
"files": ["WP_Mock/Loader.php"]
}
}
}
],
"require" : {
"php" : ">=5.3.2",
"10up/wp_mock" : "dev-master",
"mockery/mockery" : "dev-master@dev",
"hamcrest/hamcrest": "1.1.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment