Force composer to require PHP Version between Version X and Version Y

前端 未结 6 638
孤街浪徒
孤街浪徒 2020-12-23 13:14

we have a mix of different PHP versions running on your servers (max 5.3.5) and development machines (max 5.5.9).

Now we ran into the problem that we did a \"compose

6条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-23 13:58

    Try this (remove comma):

    "require": {
        "php": ">=5.3.3 <=5.3.5",
            .....
        },
    

提交回复
热议问题