From 5da5dd3c1e5eb6a81f15a93fc89650f4b37faf91 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=B6ller?= <am@localheinz.com>
Date: Fri, 13 Apr 2018 12:16:47 +0200
Subject: [PATCH] Enhancement: Normalize composer.json

---
 composer.json | 67 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 39 insertions(+), 28 deletions(-)

diff --git a/composer.json b/composer.json
index d1283488..494f458a 100644
--- a/composer.json
+++ b/composer.json
@@ -1,9 +1,12 @@
 {
     "name": "justinrainbow/json-schema",
+    "type": "library",
     "description": "A library to validate a json schema.",
-    "keywords": ["json", "schema"],
+    "keywords": [
+        "json",
+        "schema"
+    ],
     "homepage": "https://github.com/justinrainbow/json-schema",
-    "type": "library",
     "license": "MIT",
     "authors": [
         {
@@ -23,44 +26,52 @@
             "email": "seroscho@googlemail.com"
         }
     ],
-    "repositories": [{
-        "type": "package",
-        "package": {
-            "name": "json-schema/JSON-Schema-Test-Suite",
-            "version": "1.2.0",
-            "source": {
-                "url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
-                "type": "git",
-                "reference": "1.2.0"
-            }
-        }
-    }],
     "require": {
         "php": ">=5.3.3",
-        "marc-mabe/php-enum":"2.3.1"
+        "marc-mabe/php-enum": "2.3.1"
     },
     "require-dev": {
-        "json-schema/JSON-Schema-Test-Suite": "1.2.0",
         "friendsofphp/php-cs-fixer": "^2.1",
+        "json-schema/JSON-Schema-Test-Suite": "1.2.0",
         "phpunit/phpunit": "^4.8.35"
     },
-    "autoload": {
-        "psr-4": { "JsonSchema\\": "src/JsonSchema/" }
-    },
-    "autoload-dev": {
-        "psr-4": { "JsonSchema\\Tests\\": "tests/" }
-    },
-    "bin": ["bin/validate-json"],
     "extra": {
         "branch-alias": {
             "dev-master": "5.0.x-dev"
         }
     },
+    "autoload": {
+        "psr-4": {
+            "JsonSchema\\": "src/JsonSchema/"
+        }
+    },
+    "autoload-dev": {
+        "psr-4": {
+            "JsonSchema\\Tests\\": "tests/"
+        }
+    },
+    "repositories": [
+        {
+            "type": "package",
+            "package": {
+                "name": "json-schema/JSON-Schema-Test-Suite",
+                "version": "1.2.0",
+                "source": {
+                    "type": "git",
+                    "url": "https://github.com/json-schema/JSON-Schema-Test-Suite",
+                    "reference": "1.2.0"
+                }
+            }
+        }
+    ],
+    "bin": [
+        "bin/validate-json"
+    ],
     "scripts": {
-        "test" : "phpunit",
-        "testOnly" : "phpunit --colors --filter",
-        "coverage" : "phpunit --coverage-text",
-        "style-check" : "php-cs-fixer fix --dry-run --verbose --diff",
-        "style-fix" : "php-cs-fixer fix --verbose"
+        "coverage": "phpunit --coverage-text",
+        "style-check": "php-cs-fixer fix --dry-run --verbose --diff",
+        "style-fix": "php-cs-fixer fix --verbose",
+        "test": "phpunit",
+        "testOnly": "phpunit --colors --filter"
     }
 }