chore(deps): update shivammathur/setup-php action to v2.35.5 #91
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.22.0->2.35.5Release Notes
shivammathur/setup-php (shivammathur/setup-php)
v2.35.5Compare Source
Changelog
For example, this should install the latest release of PHPUnit with
10.5as the prefix.intlextension with a particular ICU versions.github-tokeninput value to avoid rate limits.Improved errors when tools fail to install. (#991)
Fixed warning in get function on request failure.
Added a fallback source for composer phar archives. (#956)
Added a fallback source for PPA keys. (#996)
Fixed
opcache.jit_buffer_sizeconfig on arm environments. (#999)Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.4Compare Source
Changelog
Fixed updating brew core tap before installing PHP on macOS.
Updated actions in internal workflows.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.3Compare Source
Changelog
Improved
github-tokensupport for GitHub Enterprise. (#981).For GitHub Enterprise users, the
github-tokeninput does not default to theGITHUB_TOKENsecret. Therefore, it's recommended to set thegithub-tokeninput to a Personal Access Token (PAT).Fixed support for
relayextension for PHP 7.4 on macOS.Updated internal workflows to not run on forks. (#982)
Updated Node.js dependencies.
Thanks @jrfnl for the contributions 🎉
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.2Compare Source
Changelog
auth.json. (#980)For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.1Compare Source
Changelog
Fixed regression in composer authentication in
2.35.0. (#979)Fixed installing
geosextension on PHP 8.5.For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.35.0Compare Source
Changelog
Added support for
github-tokeninput. (#969)It uses the
GITHUB_TOKENsecret by default and should prevent any rate limiting issues while installing your composer dependencies or while adding any tools supported by setup-php.Also, it can used to specify a personal access token (PAT) to authenticate with GitHub if you need that for your composer dependencies.
carthage-software/mago. (#898, #975)Roave/BackwardCompatibilityCheck. (#911, #974)shipmonk/name-collision-detector. (#932, #973)Fixed fallback behavior on adding a specific version of extension when
fail-fastis set to true. (#972)Fixed enabling extensions on Windows. (#978)
Fixed installing gearman extension on PHP 8.5.
Cleaned up the cubrid extension script.
Removed ondrej/pkg-gearman ppa in gearman extension setup.
Switched to ppa.setup-php.com for ondrej/php ppa fallback mirror.
Update default composer version in README. (#966)
Fixed a broken link in README. (#967)
Updated Node.js dependencies.
Thanks @jrfnl and @OskarStark for the contributions 🎉
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.34.1Compare Source
Changelog
Fixed tool-cache directory on self-hosted runners.
Fixed generating lock path in unix.sh on verbose branch.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.34.0Compare Source
Changelog
COMPOSER_ALLOW_PLUGINSenv.Added fallback for fetching the manifest for PHP versions. (#952)
Added support to specify tools directory using
SETUP_PHP_TOOLS_DIRenv. (#943, #945)Improved detecting linux self-hosted runners if
runnerenv is not specified. (#947)Improved locking mechanism while fetching files on self-hosted runners.
Dropped support for using dependency files in
shivammathur/extensiontap.Fixed errors on macOS regarding missing taps.
Fixed logic to fail on first error in extension setup from source. (#951)
Fixed error about missing
self_hosted_helperfunction on macOS.Fixed the file name of the sources list to match the name used by
apt-add-repository. (#953)Fixed installing
hiredison macOS during relay setup.Thanks @alcaeus, @JMoodyFWD, and @cmb69 for the contributions 🎉
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.33.0Compare Source
Changelog
ubuntu-24.04-armandubuntu-22.04-arm. (#848)Dropped support for Ubuntu 20.04 (
ubuntu-20.04) for both GitHub hosted and self-hosted runners. Please migrate your workflows toubuntu-22.04orubuntu-24.04. (#939)Ref: https://github.com/shivammathur/setup-php#github-hosted-runners
Improved support for installing PHPUnit around new releases. Now setup-php will fallback to the previous release till new release is available on the phpunit.de website after it is tagged. (#913, #938)
Switched to using https://ppa.launchpadcontent.net for launchpad PPAs instead of http://ppa.launchpad.net. (#927, #928)
Added a fallback to calling launchpad's API for getting PPA signatures to reduce reported failures on self-hosted runners. (#935)
Added support for specifying tools' directory using
TOOLS_DIRenv. (#937)Fixed cache support for
openswoole. (#917, shivammathur/cache-extensions#47)Fixed the version of
composer-normalizein the logs. (#899)Added support for
blackfireandionCubeextensions for PHP 8.4.Improved support for
phalconandzephir_parserextensions.Improved support for OCI extensions
pdo_ociandoci8on self-hosted runners. (#929)Improved locking mechanism while fetching files on self-hosted runners. (#912)
Fixed a warning on macOS while patching extensions.
Fixed linking hiredis library during relay setup.
Thanks @deguif, @DanielEScherzer, @voodooism, @hms5232, and @jg-development for the contributions 🎉
Thanks @complex-gmbh and @WorkOfStan for the sponsorship ❤️
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.32.0Compare Source
Changelog
pre-installedinphp-versioninput. (#872)It will setup the pre-installed PHP version on the runner as per the docs here
https://github.com/shivammathur/setup-php?tab=readme-ov-file#github-hosted-runners. If the runner does not have a pre-installed PHP version, it will fail.
Please note: It is not recommended to use this unless you are doing something trivial, the pre-installed PHP versions on GitHub hosted runners are old patch versions.
.tool-versionsfile format inphp-version-fileinput. (#883)If you have an asdf .tool-versions file in your project.
For example, you can specify
.tool-versionsnow in thephp-version-fileinput and the action would setup the correct PHP version.COMPOSER_PROJECT_DIRenv value. (#894)Added support for
macos-15GitHub hosted environment.Added support for
windows-2025GitHub hosted environment.Added support for composer-dependency-analyser tool (#859, #897)
Added information on how an extension is loaded in the wiki extension lists. (#887)
https://github.com/shivammathur/setup-php/wiki
Fixed support for debug builds. (#880)
macos-12GitHub hosted environments.Thanks @janedbal, @alexmerlin and @tillkruss for the contributions 🎉
Thanks @desrosj, @bloodynumen and @eliashaeussler for the sponsorship ❤️
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.31.1Compare Source
Changelog
Fix installing PECL extensions on Windows with a build version #855
Fix cache support for ioncube extension #856
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.31.0Compare Source
Changelog
Added support for a fallback mirror for
ondrej/phpPPA when launchpad is down (#834).Fixed installing packages on self-hosted environments with existing conf files (#852).
Fixed support for
oci8andpdo_ociextensions onubuntu-24.04.Fixed support for
couchbaseextension onubuntu-24.04.Fixed support for
ubuntu-24.04afterapt-fastwas dropped from the GA images.Fixed support for
firebirdextension onmacos-14Fixed support for
blackfireextension onmacos-14.Fixed support for
relayextension.Fixed support for
phalconextension for PHP 7.4 on Ubuntu.Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.5Compare Source
Changelog
Added support for Ubuntu 24.04.
Added support for
easy-coding-standardin tools (#838)Added support for zephir_parser for PHP 8.3.
Fixed installing zts PHP versions on macOS (#847).
Fixed installing
evextension (#844).Fixed support for
ioncubeextension (#840).Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.4Compare Source
Changelog
Fixed support for
sqlsrvandpro_sqlsrvon Windows (https://redirect.github.com/shivammathur/setup-php/discussions/835).Fixed a permissions issue for brew on
macos-14environments.Marked PHP 5.3 to PHP 5.5 as not supported on ARM64 macOS environments like
macos-14.For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.3Compare Source
Changelog
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.2Compare Source
Changelog
Added support for vld extension (shivammathur/homebrew-extensions#3827).
Added support to update brew along with the core tap on macOS to handle breaking changes in core tap formulae.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.1Compare Source
Changelog
Improved updating Homebrew core tap on macOS using a retry logic.
Fixed support for phalcon on Windows.
Fixed support for OCI extensions for PHP 8.4 on Linux and macOS.
Fixed support for
sqlsrvandpdo_sqlsrvon PHP 8.0.Fixed type error on Windows in
Get-Filefunction.Minified the release file
dist/index.jsfile generated byvercel/ncc.Updated pre-installed PHP versions for GitHub runners in the README.
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.30.0Compare Source
Changelog
Fixed syncing dependency formulae on macOS. (#823, #825, #824)
Updated Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.29.0Compare Source
Changelog
lowestalias installs the lowest actively supported version in the PHP project.composer.lockandcomposer.jsonfiles.php-versionandphp-version-fileinputs are not specified, then it can read the php version fromplatform-overrides.phpvalue in composer.lock orconfig.platform.phpvalue fromcomposer.json. #800PHPCSStandards/PHP_CodeSnifferrepository for builds ofphpcsandphpcbftools. #809Marked
v1version 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/standardto useext/random/php_random.hheader.Improved support for
phalconto install the extension when specified without the version number. #796Updated codeql workflow to use
v3versions of codeql actions. #803Updated docs workflow to use
actions/download-artifact@v4andactions/upload-artifact@v4. #804, #805Updated 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 ❤️
Follow for updates
v2.28.0Compare Source
Changelog
php-versionnow installs a stable build of PHP 8.3.latestinphp-versionnow installs PHP 8.3 as well.nightlyinphp-versionnow installs PHP 8.4.intlextension with ICU 74.1 (shivammathur/icu-intl#7)ztsinphptsenvironment variable instead oftsto set up thread-safe PHP on Linux and Windows.Added support for cached builds for PHP 8.3, PHP 8.4, and zts builds of all versions of PHP 5.6 and newer on Ubuntu GitHub Hosted environments. This should reduce the time it takes to set up these PHP versions.
Added
swooleto the builds cache for GitHub-hosted environments for PHP 7.2 and newer.Added PHP 8.3 and PHP 8.4 to the extension lists in the wiki. (#787).
PHP 8.0 is now marked as
End of lifeand PHP 8.1 is now marked asSecurity fixes onlyin README.See PHP Support in README.
Fixed support for Blackfire extension. The action now disabled
Xdebugandpcovextensions by default whenblackfireis specified inextensionsinput.grpc_php_pluginwhen installed along withprotocon macOS.geosextension on PHP 8.3.eventextension on macOS to useopenssl@3formula.Merged Pull Requests
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.27.1Compare Source
Changelog
Fixed updating PHP dependencies after formulae in homebrew/core tap have been sharded into directories with prefixes. (#780)
Update
actions/setup-nodefromv3tov4in the node workflow.Update Node.js dependencies.
For the complete list of changes, please refer to the Full Changelog
Follow for updates
v2.27.0Compare Source
Changelog
boxandphp-scopercan now be installed easily using thetoolsinput. (#776)Added support for macOS 14.x Sonoma and dropped support for macOS 11.x Big Sur following a three-year support cycle that Apple follows for macOS.
We now set
keepAliveinhttpsagent tofalseinfetch.ts. After Node 19 it is set totrueby default. This prevented the node process from exiting until timeout after the action run was completed. (#773, #777) - RefFixed support for
couchbaseextension for PHP 7.4.Fixed a warning when
findwas run without checking if the path exists on macOS.Fixed checking for existing PHP installations on macOS on self-hosted environments.
Fixed adding tools in case
/usr/local/bindirectory was missing on self-hosted environments.Bumped Node.js dependencies.
Merged Pull Requests
New Contributors
Full Changelog
For the complete list of changes, please refer to the Full Changelog: 2.26.0...2.27.0.
Thanks @tillkruss for the sponsorship ❤️
Follow for updates
v2.26.0Compare Source
Changelog
Microsoft SQL Server extensions. (#758, #766)
The latest supported version of
sqlsrvandpdo_sqlsrvfor the PHP version will be installed.Also, on Windows, these extensions will be installed from
microsoft/msphpsqlGitHub releases and will fallback topecl.PHP 8.4 Support (#762)
Added support for PHP
8.4.0-devfrom the master branch ofphp/php-srcfor all supported OS.Note: PHP
8.3.0-devis now built from the newPHP-8.3branch.Fixes
Blackfire Player
Resolved issues affecting the
blackfire-playeron Linux and macOS. It now installs theuuidextension that is required for the tool.Dropped support for it on Windows as
uuidextension is not available for the OS.Updates
Update actions/checkout
Updated the use of
actions/checkoutto v4 in the documentation and workflows.Update Node.js Version
Note: Node.js 16 reached End-of-Life on 2023-09-11 (Ref).
Updated
action.ymlto use thenode20binary. If you usesetup-phpon a self-hosted runner, please make sure it is v2.308.0 or newer to use this release or the major version tagv2.Node.js Dependencies
Bumped Node.js dependencies.
Merged Pull Requests
New Contributors
Full Changelog
For the complete list of changes, please refer to the Full Changelog: 2.25.5...2.26.0.
Follow for updates
v2.25.5Compare Source
Changelog
castorin tools input. #746Fixed support for self-hosted Debian 12 environments.
Fixed support for self-hosted environments using DEB822-STYLE .sources files.
Fixed re-enabling opcache extension on macOS. #749
Updated Node.js dependencies.
New Contributors
Full Changelog: shivammathur/setup-php@2.25.4...2.25.5
Follow for updates
v2.25.4Compare Source
Changelog
Fixed regression in 2.25.3 in PHPUnit installation by specifying
majorormajor.minorversion in thetoolsinput. #743Fixed
fsimport inutls.test.ts.Updated Node.js dependencies.
Full Changelog: shivammathur/setup-php@2.25.3...2.25.4
Follow for updates