Ver Fonte

Fix the PHP requirement in the composer.json

The codebase actually uses some PHP 7 features.
Christophe Coevoet há 7 anos atrás
pai
commit
38112c1b0f
2 ficheiros alterados com 4 adições e 4 exclusões
  1. 2 2
      composer.json
  2. 2 2
      composer.lock

+ 2 - 2
composer.json

@@ -2,7 +2,7 @@
     "description": "Package Repository Website",
     "keywords": ["package", "composer"],
     "homepage": "http://packagist.org/",
-    "type": "library",
+    "type": "project",
     "license": "MIT",
     "authors": [
         {
@@ -25,7 +25,7 @@
         "exclude-from-classmap": [ "src/Packagist/WebBundle/Tests/" ]
     },
     "require": {
-        "php": ">=5.6",
+        "php": ">=7.0",
         "symfony/symfony": "^2.8",
         "doctrine/orm": "^2.4",
         "doctrine/doctrine-bundle": "^1.2",

+ 2 - 2
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "content-hash": "d66a4039537323b09a560472fe93c122",
+    "content-hash": "53bcff7ff3ee7e8525709bc1bb27068b",
     "packages": [
         {
             "name": "algolia/algoliasearch-client-php",
@@ -5606,7 +5606,7 @@
     "prefer-stable": false,
     "prefer-lowest": false,
     "platform": {
-        "php": ">=5.6"
+        "php": ">=7.0"
     },
     "platform-dev": []
 }