作曲家拒绝使用GitHub分支



我正在尝试让作曲家安装github项目的3.0.0分支(Onelogin/php-saml(。但是,无论我尝试什么,它都一直在尝试安装主分支版本(2.12(。我想念什么吗?以下是我的作曲家。

{
    "name": "munkireport/munkireport-php",
    "description": "Reporting tool for munki",
    "type": "project",
    "license": "MIT",
    "require-dev": {
        "squizlabs/php_codesniffer": "^2.5"
    },
    "require": {
        "php": ">=7.0.27",
        "ext-dom": "*",
        "guzzlehttp/guzzle": "~6.0",
        "hautelook/phpass": "^1.1",
        "illuminate/console": "~5.4",
        "illuminate/database": "5.4.36",
        "illuminate/filesystem": "~5.4",
        "league/flysystem": "~1.0",
        "rodneyrehm/plist": "^2.0",
        "doctrine/dbal": "~2.5",
        "defuse/php-encryption": "^2.1",
        "onelogin/php-saml": "3.0.0-dev"
    },
    "suggest": {
        "adldap2/adldap2": "^8.0 Required for AD authentication"
    },
    "autoload": {
        "psr-4": {
            "munkireport\models\": "app/models/",
            "munkireport\controller\": "app/controllers",
            "munkireport\lib\": "app/lib/munkireport"
        }
    },
    "repositories": [
        {
            "type": "git",
            "url": "https://github.com/onelogin/php-saml"
        }
    ]
}

输出:

Using version ^2.12 for onelogin/php-saml

我能够使用以下命令绕过它:

./composer require onelogin/php-saml:3.0.0.x-dev

相关内容

  • 没有找到相关文章

最新更新