shivammathur/setup-php (shivammathur/setup-php)
### [`v2.29.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.29.0)
[Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.28.0...2.29.0)
#### Changelog
- Added support for 'lowest' and 'highest' aliases to specify PHP versions. [#794](https://togithub.com/shivammathur/setup-php/issues/794)
- The `lowest` alias installs the lowest actively supported version in the PHP project.
- The 'highest' alias is equivalent to the 'latest' alias, so it installs the latest supported stable PHP version.
```yml
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: lowest # or highest
```
- Added support for thread-safe builds on macOS. This completes the support for thread-safe builds on all supported platforms.
```yml
- name: Setup ZTS PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
env:
phpts: zts
```
- Updated documentation for support to read the PHP version from `composer.lock` and `composer.json` files. If `php-version` and `php-version-file` inputs are not specified, then it can read it from `platform-overrides.php` value in composer.lock or `config.platform.php` value from `composer.json`. [#800](https://togithub.com/shivammathur/setup-php/issues/800)
```yml
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
```
- Switched to the new `PHPCSStandards/PHP_CodeSniffer` repository for builds of `phpcs` and `phpcbf` tools. [#809](https://togithub.com/shivammathur/setup-php/issues/809)
```yml
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: phpcs, phpcbf
```
- Marked `v1` version of the action as completely unsupported, it will receive no updates, please upgrade to `v2`, if not done already.
- Fixed installing extensions on Windows for PHP 8.1 by reverting the version bump for minimum stability. [#807](https://togithub.com/shivammathur/setup-php/issues/807)
- Fixed building extensions on PHP 8.4 that used backward compatibility headers from `ext/standard` to use `ext/random/php_random.h` header.
- Improved support for `phalcon` to install the extension when specified without the version number. [#796](https://togithub.com/shivammathur/setup-php/issues/796)
```yml
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: phalcon
```
- Updated codeql workflow to use `v3` versions of codeql actions. [#803](https://togithub.com/shivammathur/setup-php/issues/803)
- Updated docs workflow to use `actions/download-artifact@v4` and `actions/upload-artifact@v4`. [#804](https://togithub.com/shivammathur/setup-php/issues/804), [#805](https://togithub.com/shivammathur/setup-php/issues/805)
- Updated Node.js dependencies.
#### Merged Pull Requests
- Merged pull request [#794](https://togithub.com/shivammathur/setup-php/pull/794) from [@davereid](https://togithub.com/davereid)
- Merged pull request [#800](https://togithub.com/shivammathur/setup-php/pull/800) from [@davereid](https://togithub.com/davereid)
For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.28.0...2.29.0)
Follow for updates
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
π Click on the image for a new way to code review
####
[![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/ChromaticHQ/usher/200/64f21097/061e21d26d103d29b7d83e423a2556eec95e0a4f.svg)](https://app.codesee.io/r/reviews?pr=200&src=https%3A%2F%2Fgithub.com%2FChromaticHQ%2Fusher)
#### Legend
This PR contains the following updates:
2.28.0
->2.29.0
Release Notes
shivammathur/setup-php (shivammathur/setup-php)
### [`v2.29.0`](https://togithub.com/shivammathur/setup-php/releases/tag/2.29.0) [Compare Source](https://togithub.com/shivammathur/setup-php/compare/2.28.0...2.29.0) #### Changelog - Added support for 'lowest' and 'highest' aliases to specify PHP versions. [#794](https://togithub.com/shivammathur/setup-php/issues/794) - The `lowest` alias installs the lowest actively supported version in the PHP project. - The 'highest' alias is equivalent to the 'latest' alias, so it installs the latest supported stable PHP version. ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: lowest # or highest ``` - Added support for thread-safe builds on macOS. This completes the support for thread-safe builds on all supported platforms. ```yml - name: Setup ZTS PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' env: phpts: zts ``` - Updated documentation for support to read the PHP version from `composer.lock` and `composer.json` files. If `php-version` and `php-version-file` inputs are not specified, then it can read it from `platform-overrides.php` value in composer.lock or `config.platform.php` value from `composer.json`. [#800](https://togithub.com/shivammathur/setup-php/issues/800) ```yml - name: Checkout uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 ``` - Switched to the new `PHPCSStandards/PHP_CodeSniffer` repository for builds of `phpcs` and `phpcbf` tools. [#809](https://togithub.com/shivammathur/setup-php/issues/809) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' tools: phpcs, phpcbf ``` - Marked `v1` version of the action as completely unsupported, it will receive no updates, please upgrade to `v2`, if not done already. - Fixed installing extensions on Windows for PHP 8.1 by reverting the version bump for minimum stability. [#807](https://togithub.com/shivammathur/setup-php/issues/807) - Fixed building extensions on PHP 8.4 that used backward compatibility headers from `ext/standard` to use `ext/random/php_random.h` header. - Improved support for `phalcon` to install the extension when specified without the version number. [#796](https://togithub.com/shivammathur/setup-php/issues/796) ```yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.3' extensions: phalcon ``` - Updated codeql workflow to use `v3` versions of codeql actions. [#803](https://togithub.com/shivammathur/setup-php/issues/803) - Updated docs workflow to use `actions/download-artifact@v4` and `actions/upload-artifact@v4`. [#804](https://togithub.com/shivammathur/setup-php/issues/804), [#805](https://togithub.com/shivammathur/setup-php/issues/805) - Updated Node.js dependencies. #### Merged Pull Requests - Merged pull request [#794](https://togithub.com/shivammathur/setup-php/pull/794) from [@davereid](https://togithub.com/davereid) - Merged pull request [#800](https://togithub.com/shivammathur/setup-php/pull/800) from [@davereid](https://togithub.com/davereid) For the complete list of changes, please refer to the [Full Changelog](https://togithub.com/shivammathur/setup-php/compare/2.28.0...2.29.0)Follow for updates
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.