Browse Source

Set max PHP version.

We won't be supporting PHP8 in 3.x. Several of our dependencies are not
compatible and upgrading them would also require breaking change in
CakePHP. Folks needing PHP8 support will need to upgrade to 4.x
Mark Story 5 years ago
parent
commit
a7bedf10bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      composer.json

+ 1 - 1
composer.json

@@ -28,7 +28,7 @@
         "source": "https://github.com/cakephp/cakephp"
         "source": "https://github.com/cakephp/cakephp"
     },
     },
     "require": {
     "require": {
-        "php": ">=5.6.0",
+        "php": ">=5.6.0,<8.0.0",
         "ext-intl": "*",
         "ext-intl": "*",
         "ext-mbstring": "*",
         "ext-mbstring": "*",
         "cakephp/chronos": "^1.0.1",
         "cakephp/chronos": "^1.0.1",