Author: Andreas Möller (localheinz)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-07-08T14:58:24+02:00

Commit: 
https://github.com/php/web-php/commit/d47ac32040a9b5b01488b9012aba68a3ff27cf3d
Raw diff: 
https://github.com/php/web-php/commit/d47ac32040a9b5b01488b9012aba68a3ff27cf3d.diff

Enhancement: Document platform requirement in composer.json

Closes GH-408.

Changed paths:
  A  composer.json
  A  composer.lock
  M  .gitignore


Diff:

diff --git a/.gitignore b/.gitignore
index ff377854a..7d805262b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+/vendor/
+
 backend/mirror.gif
 backend/mirror.png
 backend/mirror.jpg
diff --git a/composer.json b/composer.json
new file mode 100644
index 000000000..539c0f7ab
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,19 @@
+{
+    "name": "php/web-php",
+    "description": "The www.php.net site.",
+    "license": "proprietary",
+    "type": "project",
+    "homepage": "https://www.php.net/";,
+    "support": {
+        "source": "https://github.com/php/web-php";
+    },
+    "require": {
+        "php": "^7.3"
+    },
+    "config": {
+        "platform": {
+            "php": "7.3.19"
+        },
+        "sort-packages": true
+    }
+}
diff --git a/composer.lock b/composer.lock
new file mode 100644
index 000000000..e25f52880
--- /dev/null
+++ b/composer.lock
@@ -0,0 +1,23 @@
+{
+    "_readme": [
+        "This file locks the dependencies of your project to a known state",
+        "Read more about it at 
https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies";,
+        "This file is @generated automatically"
+    ],
+    "content-hash": "c0f8a9b8c5c6efaa1eed8cf44ed8695e",
+    "packages": [],
+    "packages-dev": [],
+    "aliases": [],
+    "minimum-stability": "stable",
+    "stability-flags": [],
+    "prefer-stable": false,
+    "prefer-lowest": false,
+    "platform": {
+        "php": "^7.3"
+    },
+    "platform-dev": [],
+    "platform-overrides": {
+        "php": "7.3.19"
+    },
+    "plugin-api-version": "2.3.0"
+}

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to