mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 05:23:03 +07:00
Document php-version can come from platform overrides in composer.lock and composer.json
This commit is contained in:
parent
e8cd65f444
commit
c088c0cfeb
@ -395,7 +395,10 @@ Disable coverage for these reasons:
|
|||||||
- Accepts `nightly` to set up a nightly build from the master branch of PHP.
|
- Accepts `nightly` to set up a nightly build from the master branch of PHP.
|
||||||
- Accepts the format `d.x`, where `d` is the major version. For example `5.x`, `7.x` and `8.x`.
|
- Accepts the format `d.x`, where `d` is the major version. For example `5.x`, `7.x` and `8.x`.
|
||||||
- See [PHP support](#tada-php-support) for the supported PHP versions.
|
- See [PHP support](#tada-php-support) for the supported PHP versions.
|
||||||
- If not specified, it looks for `php-version-file` input.
|
- If not specified, it looks for the following in order:
|
||||||
|
- The `php-version-file` input if it exists
|
||||||
|
- A `composer.lock` file and the `platform-overrides.php` value
|
||||||
|
- A `composer.json` file and the `config.platform.php` value
|
||||||
|
|
||||||
#### `php-version-file` (optional)
|
#### `php-version-file` (optional)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user