Changelog
- Added support for 'lowest' and 'highest' aliases to specify PHP versions. #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.
- The
- 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.
- 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
andcomposer.json
files.- If
php-version
andphp-version-file
inputs are not specified, then it can read the php version fromplatform-overrides.php
value in composer.lock orconfig.platform.php
value fromcomposer.json
. #800
- If
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
- Switched to the new
PHPCSStandards/PHP_CodeSniffer
repository for builds ofphpcs
andphpcbf
tools. #809
- 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 tov2
, if not done already. -
Fixed installing extensions on Windows for PHP 8.1 by reverting the version bump for minimum stability. #807
-
Fixed building extensions on PHP 8.4 that used backward compatibility headers from
ext/standard
to useext/random/php_random.h
header. -
Improved support for
phalcon
to install the extension when specified without the version number. #796
- 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 -
Updated docs workflow to use
actions/download-artifact@v4
andactions/upload-artifact@v4
. #804, #805 -
Updated Node.js dependencies.
Merged Pull Requests
For the complete list of changes, please refer to the Full Changelog
Thanks @dr5hn, @tighten, @ZeekInteractive, @acelaya, and @fulopattila122 for the sponsorship ❤️