Skip to content

Instantly share code, notes, and snippets.

@johnpbloch
Created April 24, 2013 15:09
Show Gist options
  • Select an option

  • Save johnpbloch/5452863 to your computer and use it in GitHub Desktop.

Select an option

Save johnpbloch/5452863 to your computer and use it in GitHub Desktop.
A composer file to install WP_Mock's dependencies.
{
"name": "your-name/your-project",
"require": {
"php": ">=5.3.2"
},
"require-dev": {
"mockery/mockery": "dev-master@dev",
"hamcrest/hamcrest": "1.1.0"
},
"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"]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment