
{
    "name": "wp-cli/server-command",
    "description": "Launch PHP's built-in web server for this specific WordPress installation.",
    "type": "wp-cli-package",
    "homepage": "https://github.com/wp-cli/server-command",
    "support": {
        "issues": "https://github.com/wp-cli/server-command/issues"
    },
    "license": "MIT",
    "authors": [
        {
            "name": "Daniel Bachhuber",
            "email": "daniel@runcommand.io",
            "homepage": "https://runcommand.io"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "autoload": {
        "psr-4": { "": "src/" },
        "files": [ "server-command.php" ]
    },
    "require": {
        "wp-cli/wp-cli": "dev-master"
    },
    "require-dev": {
        "behat/behat": "~2.5"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.x-dev"
        },
        "commands": [
            "server"
        ]
    }
}


{
    "name": "wp-cli/server-command",
    "description": "Launch PHP's built-in web server for this specific WordPress installation.",
    "type": "wp-cli-package",
    "homepage": "https://github.com/wp-cli/server-command",
    "support": {
        "issues": "https://github.com/wp-cli/server-command/issues"
    },
    "license": "MIT",
    "authors": [
        {
            "name": "Daniel Bachhuber",
            "email": "daniel@runcommand.io",
            "homepage": "https://runcommand.io"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true,
    "autoload": {
        "psr-4": { "": "src/" },
        "files": [ "server-command.php" ]
    },
    "require": {
        "wp-cli/wp-cli": "*"
    },
    "require-dev": {
        "behat/behat": "~2.5"
    },
    "extra": {
        "branch-alias": {
            "dev-master": "1.x-dev"
        },
        "commands": [
            "server"
        ]
    }
}

Fix conflict between dev-master and pull-request branches
Fix conflict between dev-master and pull-request branches

Some of the builds fail because the circular dependencies "wp-cli -> external-command -> wp-cli" produce an unresolvable conflict.
The main issue is that we had required `"wp-cli/wp-cli": "dev-master"` in the external command packages so that they can always be tested against the latest version.
However, `dev-master` only means "the latest commit on the `master` branch". So, this would then exclude other `wp-cli/wp-cli` branches to be accepted ... like for example pull requests!
Current reasoning is that we just want to make sure that we have "any" WP-CLI to work with, and define the actual version to use for the tests through Travis. So, we think that adding the following combination to each external packages `composer.json` should do the trick:
```"minimum-stability": "dev",
"prefer-stable": true,
"require": {
   "wp-cli/wp-cli": "*"
}
```
This specific combination means: "use the *highest* available *stable* version of `wp-cli/wp-cli` while allowing to fall back to `dev-master` if the stable versions don't meet the requirements".
