Browse Source

Bring key order in line for all sub packages

Marc Würth 8 years ago
parent
commit
5f38630b16

+ 4 - 4
src/Cache/composer.json

@@ -21,13 +21,13 @@
         "irc": "irc://irc.freenode.org/cakephp",
         "source": "https://github.com/cakephp/cache"
     },
+    "require": {
+        "php": ">=5.6.0",
+        "cakephp/core": "~3.0"
+    },
     "autoload": {
         "psr-4": {
             "Cake\\Cache\\": "."
         }
-    },
-    "require": {
-        "php": ">=5.6.0",
-        "cakephp/core": "~3.0"
     }
 }

+ 4 - 4
src/Form/composer.json

@@ -20,13 +20,13 @@
         "irc": "irc://irc.freenode.org/cakephp",
         "source": "https://github.com/cakephp/form"
     },
+    "require": {
+        "php": ">=5.6.0",
+        "cakephp/validation": "~3.0"
+    },
     "autoload": {
         "psr-4": {
             "Cake\\Form\\": "."
         }
-    },
-    "require": {
-        "php": ">=5.6.0",
-        "cakephp/validation": "~3.0"
     }
 }

+ 8 - 8
src/I18n/composer.json

@@ -27,14 +27,6 @@
         "irc": "irc://irc.freenode.org/cakephp",
         "source": "https://github.com/cakephp/i18n"
     },
-    "autoload": {
-        "psr-4": {
-            "Cake\\I18n\\": "."
-        },
-        "files": [
-            "functions.php"
-        ]
-    },
     "require": {
         "php": ">=5.6.0",
         "cakephp/core": "~3.0",
@@ -44,5 +36,13 @@
     },
     "suggest": {
         "cakephp/cache": "Require this if you want automatic caching of translators"
+    },
+    "autoload": {
+        "psr-4": {
+            "Cake\\I18n\\": "."
+        },
+        "files": [
+            "functions.php"
+        ]
     }
 }

+ 5 - 5
src/Log/composer.json

@@ -22,14 +22,14 @@
         "irc": "irc://irc.freenode.org/cakephp",
         "source": "https://github.com/cakephp/log"
     },
-    "autoload": {
-        "psr-4": {
-            "Cake\\Log\\": "."
-        }
-    },
     "require": {
         "php": ">=5.6.0",
         "cakephp/core": "~3.0",
         "psr/log": "^1.0"
+    },
+    "autoload": {
+        "psr-4": {
+            "Cake\\Log\\": "."
+        }
     }
 }

+ 5 - 5
src/ORM/composer.json

@@ -22,11 +22,6 @@
         "irc": "irc://irc.freenode.org/cakephp",
         "source": "https://github.com/cakephp/orm"
     },
-    "autoload": {
-        "psr-4": {
-            "Cake\\ORM\\": "."
-        }
-    },
     "require": {
         "php": ">=5.6.0",
         "cakephp/collection": "~3.0",
@@ -39,5 +34,10 @@
     },
     "suggest": {
         "cakephp/i18n": "If you are using Translate / Timestamp Behavior."
+    },
+    "autoload": {
+        "psr-4": {
+            "Cake\\ORM\\": "."
+        }
     }
 }

+ 5 - 5
src/Validation/composer.json

@@ -21,15 +21,15 @@
         "irc": "irc://irc.freenode.org/cakephp",
         "source": "https://github.com/cakephp/validation"
     },
-    "autoload": {
-        "psr-4": {
-            "Cake\\Validation\\": "."
-        }
-    },
     "require": {
         "php": ">=5.6.0",
         "cakephp/utility": "~3.0",
         "cakephp/i18n": "~3.0",
         "psr/http-message": "~1.0"
+    },
+    "autoload": {
+        "psr-4": {
+            "Cake\\Validation\\": "."
+        }
     }
 }