浏览代码

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 年之前
父节点
当前提交
a7bedf10bb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      composer.json

+ 1 - 1
composer.json

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