Browse Source

Add fixture for composer.json with commit-ref

Jeroen Seegers 9 years ago
parent
commit
476c6f279b
1 changed files with 55 additions and 0 deletions
  1. 55 0
      tests/Composer/Test/Util/Fixtures/composer_commit-ref.json

+ 55 - 0
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"
+    }
+}