From 476c6f279b99402d01ced153d1a814bc7025562d Mon Sep 17 00:00:00 2001 From: Jeroen Seegers Date: Tue, 27 Oct 2015 13:50:41 +0100 Subject: [PATCH] Add fixture for composer.json with commit-ref --- .../Util/Fixtures/composer_commit-ref.json | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/Composer/Test/Util/Fixtures/composer_commit-ref.json diff --git a/tests/Composer/Test/Util/Fixtures/composer_commit-ref.json b/tests/Composer/Test/Util/Fixtures/composer_commit-ref.json new file mode 100644 index 000000000..9d4a4d309 --- /dev/null +++ b/tests/Composer/Test/Util/Fixtures/composer_commit-ref.json @@ -0,0 +1,55 @@ +{ + "name": "composer/commit-ref-validation", + "description": "Dummy file to test the commit-ref validation", + "keywords": ["package", "dependency", "autoload"], + "homepage": "https://getcomposer.org/", + "type": "library", + "license": "MIT", + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/composer/issues" + }, + "require": { + "php": ">=5.3.2", + "some/package": "dev-master#fgb42d" + }, + "require-dev": { + "phpunit/phpunit": "~4.5" + }, + "config": { + "platform": { + "php": "5.3.3" + } + }, + "suggest": { + "ext-zip": "Enabling the zip extension allows you to unzip archives, and allows gzip compression of all internet traffic", + "ext-openssl": "Enabling the openssl extension allows you to access https URLs for repositories and packages" + }, + "autoload": { + "psr-0": { "Composer": "src/" } + }, + "autoload-dev": { + "psr-0": { "Composer\\Test": "tests/" } + }, + "bin": ["bin/composer"], + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "scripts": { + "test": "phpunit" + } +}