Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 17, 2023

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.24.0 -> 2.36.0

Release Notes

shivammathur/setup-php (shivammathur/setup-php)

v2.36.0

Compare Source

Changelog

  • Added support for PHP 8.5 stable release.
- name: Setup PHP 8.5 (stable)
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
  • Added support for PHP 8.6.0-dev. Specifying 8.6 in the php-version input should now set up a nightly build from the master branch of php-src. (#​1002)
- name: Setup PHP 8.6.0-dev
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.6'
  • Added support for pdo_ibm and ibm_db2 extensions.
- name: Setup PHP with pdo_ibm and ibm_db2 extensions
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    extensions: pdo_ibm, ibm_db2
  • Added support to install blackfire extension on PHP 8.5.
- name: Setup PHP with blackfire extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    extensions: blackfire
  • Improved support to detect the required libraries when building from source for common extensions. For example installing gnupg from source would install the required libgpgme library automatically. (#​1021)
- name: Setup PHP with amqp extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    extensions: gnupg-1.5.4
  • Improved support for symfony-cli. It should now correctly set up the requested version. (#​1008)
- name: Setup PHP with symfony-cli
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    tools: symfony-cli:5.16.0
  • Improved support for relay extension. Also added support to install the nightly version of the extension. (#​1011, #​1012)

  • Improved installing PHP on macOS. Also fixed installing PHP on macos-15-intel GitHub runner. (#​1029)

  • Improved support for deb822 format sources files on Linux. It should now set up the sources files in deb822 format on Ubuntu 24.04, Debian 13, and newer. It would automatically switch the format as well for the repositories added by the action to the new format when supported. (#​1027)

  • Improved support for installing pdo_oci. (#​1028)

  • Fixed installing gearman extension for PHP 5.6 and 7.0 on Linux.

  • Fixed an edge case in tools setup to fall back to the latest version. (#​1024)

  • Fixed support to build extensions with uppercase names from PECL. (#​1017)

  • Fixed warning on redis setup on macOS after formula rename. (shivammathur/homebrew-extensions#5413)

  • Fixed fallback link for composer setup. (#​1025)

  • Updated the link for flex documentation in README. (#​1020)

  • Updated Node.js dependencies.

Thanks @​shyim, @​tillkruss, and @​nicolas-grekas for the contributions 🎉

Thanks @​JetBrainsOfficial and @​cachewerk for the sponsorship ❤️

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.35.5

Compare Source

Changelog

  • Added support for macOS 26 based environments.
runs-on: macos-26
steps:
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  • Fixed resolving tools' releases to the latest one for a version prefix in tools input. (#​1000)
    For example, this should install the latest release of PHPUnit with 10.5 as the prefix.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
    tools: phpunit:10.5.x
  • Improved installing intl extension with a particular ICU versions.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: intl-77.1
  • Fixed tools setup to use the new github-token input value to avoid rate limits.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: phpcs: 4
    github-token: ${{ secrets.GITHUB_TOKEN }}
  • 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_size config on arm environments. (#​999)

  • Updated Node.js dependencies.

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.35.4

Compare 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

setup-php reddit setup-php twitter setup-php status

v2.35.3

Compare Source

Changelog

  • Improved github-token support for GitHub Enterprise. (#​981).

    For GitHub Enterprise users, the github-token input does not default to the GITHUB_TOKEN secret. Therefore, it's recommended to set the github-token input to a Personal Access Token (PAT).

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    github-token: ${{ secrets.YOUR_PAT_TOKEN }}
  • Fixed support for relay extension 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

setup-php reddit setup-php twitter setup-php status

v2.35.2

Compare Source

Changelog

  • Fixed race condition in updating composer auth.json. (#​980)

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.35.1

Compare Source

Changelog

  • Fixed regression in composer authentication in 2.35.0. (#​979)

  • Fixed installing geos extension on PHP 8.5.

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.35.0

Compare Source

Changelog

  • Added support for github-token input. (#​969)
    It uses the GITHUB_TOKEN secret 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.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    github-token: ${{ secrets.PAT }}
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: mago
  • Added support for Roave/BackwardCompatibilityCheck. (#​911, #​974)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: backward-compatibility-check
  • Added support for shipmonk/name-collision-detector. (#​932, #​973)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: name-collision-detector
  • Fixed fallback behavior on adding a specific version of extension when fail-fast is 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

setup-php reddit setup-php twitter setup-php status

v2.34.1

Compare 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

setup-php reddit setup-php twitter setup-php status

v2.34.0

Compare Source

Changelog

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: pie
  • Added support to allow composer plugins by specifying the list of plugins in COMPOSER_ALLOW_PLUGINS env.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    COMPOSER_ALLOW_PLUGINS: composer/installers, composer/satis
  • Added fallback for fetching the manifest for PHP versions. (#​952)

  • Added support to specify tools directory using SETUP_PHP_TOOLS_DIR env. (#​943, #​945)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    SETUP_PHP_TOOLS_DIR: /tmp/tools
  • Improved detecting linux self-hosted runners if runner env is not specified. (#​947)

  • Improved locking mechanism while fetching files on self-hosted runners.

  • Dropped support for using dependency files in shivammathur/extension tap.

  • 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_helper function on macOS.

  • Fixed the file name of the sources list to match the name used by apt-add-repository. (#​953)

  • Fixed installing hiredis on macOS during relay setup.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: relay
  • Updated Node.js dependencies.

Thanks @​alcaeus, @​JMoodyFWD, and @​cmb69 for the contributions 🎉

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.33.0

Compare Source

Changelog

  • Added support for Arm Ubuntu runners ubuntu-24.04-arm and ubuntu-22.04-arm. (#​848)
jobs:
  run:
    runs-on: ubuntu-24.04-arm # or ubuntu-22.04-arm
    steps:
    - name: Setup PHP
      uses: shivammathur/setup-php@v2
      with:
        php-version: '8.4'
  • Dropped support for Ubuntu 20.04 (ubuntu-20.04) for both GitHub hosted and self-hosted runners. Please migrate your workflows to ubuntu-22.04 or ubuntu-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)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: phpunit
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    TOOLS_DIR: '/tmp/tools'
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: composer-normalize
  • Updated the repository for PHP-CS-Fixer. (#​900)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: php-cs-fixer
  • Added support for blackfire and ionCube extensions for PHP 8.4.

  • Improved support for phalcon and zephir_parser extensions.

  • Improved support for OCI extensions pdo_oci and oci8 on self-hosted runners. (#​929)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: pdo_oci, oci8
  • 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.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: relay
  • Updated Node.js dependencies.

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

setup-php reddit setup-php twitter setup-php status

v2.32.0

Compare Source

Changelog

  • Added support for PHP 8.4 as the default stable PHP version.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  • Added support for PHP 8.5 as the nightly version. (#​867)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
  • Added support for pre-installed in php-version input. (#​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.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: pre-installed
  • Added support for .tool-versions file format in php-version-file input. (#​883)
    If you have an asdf .tool-versions file in your project.
    For example, you can specify .tool-versions now in the php-version-file input and the action would setup the correct PHP version.
ruby 3.4
php 8.4
nodejs 23.5
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version-file: .tool-versions
  • Added support for to specify the path for composer file in the project to read the PHP version using COMPOSER_PROJECT_DIR env value. (#​894)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  env:
    COMPOSER_PROJECT_DIR: php  
  • Added support for macos-15 GitHub hosted environment.

  • Added support for windows-2025 GitHub hosted environment.

  • Added support for composer-dependency-analyser tool (#​859, #​897)

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: composer-dependency-analyser
  • Added support for relay extension for PHP 8.4 and 8.5. (#​892)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: relay
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    debug: true  
  • Fixed support for zts buids on self-hosted runners.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
  env:
    phpts: ts
  • Fixed support for oci extensions for PHP 8.4 and PHP 8.5.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: pdo_oci, oci8
  • Fixed support for zephir_parser extension.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: zephir_parser
  • Fixed support for couchbase extension on old PHP versions.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.1'
    extensions: couchbase
  • Fixed support for pdo_firebird extension on macos-15.
### runs-on: macos-15
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: pdo_firebird
  • Improved support to install tools in a multi-user self-hosted environment.
  • Dropped support for macos-12 GitHub hosted environments.
  • Dropped support for Debian 10 based self-hosted environments.
  • Update Node.js dependencies.

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

setup-php reddit setup-php twitter setup-php status

v2.31.1

Compare 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

setup-php reddit setup-php twitter setup-php status

v2.31.0

Compare Source

Changelog

  • Added support for a fallback mirror for ondrej/php PPA when launchpad is down (#​834).

  • Fixed installing packages on self-hosted environments with existing conf files (#​852).

  • Fixed support for oci8 and pdo_oci extensions on ubuntu-24.04.

  • Fixed support for couchbase extension on ubuntu-24.04.

  • Fixed support for ubuntu-24.04 after apt-fast was dropped from the GA images.

  • Fixed support for firebird extension on macos-14

  • Fixed support for blackfire extension on macos-14.

  • Fixed support for relay extension.

  • Fixed support for phalcon extension 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

setup-php reddit setup-php twitter setup-php status

v2.30.5

Compare Source

Changelog

  • Added support for Ubuntu 24.04.

  • Added support for easy-coding-standard in tools (#​838)

  • Added support for zephir_parser for PHP 8.3.

  • Fixed installing zts PHP versions on macOS (#​847).

  • Fixed installing ev extension (#​844).

  • Fixed support for ioncube extension (#​840).

  • Updated Node.js dependencies.

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.30.4

Compare Source

Changelog

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.30.3

Compare Source

Changelog

  • Fixed reading extension directory for PHP 8.4 on macOS.

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.30.2

Compare 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

setup-php reddit setup-php twitter setup-php status

v2.30.1

Compare 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 sqlsrv and pdo_sqlsrv on PHP 8.0.

  • Fixed type error on Windows in Get-File function.

  • Minified the release file dist/index.js file generated by vercel/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

setup-php reddit setup-php twitter setup-php status

v2.30.0

Compare Source

Changelog

  • Added support to set custom composer timeout (#​811)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    COMPOSER_PROCESS_TIMEOUT: 300

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.29.0

Compare Source

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.
- 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 and composer.json files.
    • If php-version and php-version-file inputs are not specified, then it can read the php version from platform-overrides.php value in composer.lock or config.platform.php value from composer.json. #​800
- 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
- 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

  • 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

- 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 and actions/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 ❤️

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.28.0

Compare Source

Changelog

  • Specifying 8.3 in php-version now installs a stable build of PHP 8.3.
- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  • Specifying latest in php-version now installs PHP 8.3 as well.
- name: Setup Latest PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 'latest'
  • Specifying nightly in php-version now installs PHP 8.4.
- name: Setup Nightly PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 'nightly'
- name: Setup PHP with intl
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: intl-74.1
  • Added support to specify zts in phpts environment variable instead of ts to set up thread-safe PHP on Linux and Windows.
- name: Setup PHP 8.3 (ZTS)
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    phpts: zts
  • Fixed support for debug builds. (#​784)
- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    debug: true
  • 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 swoole to the builds cache for GitHub-hosted environments for PHP 7.2 and newer.

- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: swoole
  • 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 life and PHP 8.1 is now marked as Security fixes only in README.
    See PHP Support in README.

  • Fixed support for Blackfire extension. The action now disabled Xdebug and pcov extensions by default when blackfire is specified in extensions input.

- name: Setup PHP with blackfire extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: blackfire
  • Fixed support for grpc_php_plugin when installed along with protoc on macOS.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    tools: protoc, grpc_php_plugin
  • Fixed support for geos extension on PHP 8.3.
- name: Setup PHP with geos extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: geos
  • Fixed support for event extension on macOS to use openssl@3 formula.
- name: Setup PHP with geos extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: event
  • Update Node.js dependencies.

Merged Pull Requests

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.27.1

Compare Source

Changelog

  • Fixed updating PHP dependencies after formulae in homebrew/core tap have been sharded into directories with prefixes. (#​780)

  • Update actions/setup-node from v3 to v4 in the node workflow.

  • Update Node.js dependencies.

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

v2.27.0

Compare Source

Changelog

  • Tools box and php-scoper can now be installed easily using the tools input. (#​776)
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    tools: box, php-scoper
  • 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 keepAlive in https agent to false in fetch.ts. After Node 19 it is set to true by default. This prevented the node process from exiting until timeout after the action run was completed. (#​773, #​777) - Ref

  • Fixed support for couchbase extension for PHP 7.4.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '7.4'
    extensions: couchbase
  • Fixed a warning when find was 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/bin directory 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

setup-php reddit setup-php twitter setup-php status

v2.26.0

Compare Source

Changelog

Microsoft SQL Server extensions. (#​758, #​766)

The latest supported version of sqlsrv and pdo_sqlsrv for the PHP version will be installed.
Also, on Windows, these extensions will be installed from microsoft/msphpsql GitHub releases and will fallback to pecl.

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.2'
    extensions: sqlsrv, pdo_sqlsrv
PHP 8.4 Support (#​762)

Added support for PHP 8.4.0-dev from the master branch of php/php-src for all supported OS.
Note: PHP 8.3.0-dev is now built from the new PHP-8.3 branch.

- name: Setup PHP
  uses: shivammathur/set

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/voku/Arrayy).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTkuOSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/voku/Arrayy/130)
<!-- Reviewable:end -->

@github-actions
Copy link

github-actions bot commented Apr 17, 2023

Coverage Status

Coverage: 88.112% (-1.1%) from 89.237% when pulling e215688 on renovate/shivammathur-setup-php-2.x into eaea456 on master.

@github-actions
Copy link

Coverage Status

Coverage: 88.677% (-0.6%) from 89.237% when pulling 03ec1db on renovate/shivammathur-setup-php-2.x into eaea456 on master.

@codecov
Copy link

codecov bot commented Apr 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.45%. Comparing base (e88173f) to head (770a75b).

Current head 770a75b differs from pull request most recent head c191bd9

Please upload reports for the commit c191bd9 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #130   +/-   ##
=========================================
  Coverage     90.45%   90.45%           
  Complexity     1138     1138           
=========================================
  Files            39       39           
  Lines          3196     3196           
=========================================
  Hits           2891     2891           
  Misses          305      305           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.25.0 Update shivammathur/setup-php action to v2.25.1 Apr 19, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 03ec1db to e215688 Compare April 19, 2023 05:17
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.25.1 Update shivammathur/setup-php action to v2.25.2 May 28, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from e215688 to d98cc9c Compare May 28, 2023 09:48
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.25.2 Update shivammathur/setup-php action to v2.25.3 Jun 12, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from d98cc9c to 05397f3 Compare June 12, 2023 12:42
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.25.3 Update shivammathur/setup-php action to v2.25.4 Jun 12, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 05397f3 to 2f24563 Compare June 12, 2023 23:25
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.25.4 Update shivammathur/setup-php action to v2.25.5 Jul 29, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 2f24563 to d7c6af0 Compare July 29, 2023 22:35
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.25.5 Update shivammathur/setup-php action to v2.26.0 Sep 14, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from d7c6af0 to da835ba Compare September 14, 2023 09:40
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.26.0 Update shivammathur/setup-php action to v2.27.0 Nov 1, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from da835ba to 12a1fc2 Compare November 1, 2023 21:52
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.27.0 Update shivammathur/setup-php action to v2.27.1 Nov 7, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 12a1fc2 to 2d00c70 Compare November 7, 2023 11:02
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.27.1 Update shivammathur/setup-php action to v2.28.0 Nov 27, 2023
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 2d00c70 to dc4d948 Compare November 27, 2023 15:27
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.28.0 Update shivammathur/setup-php action to v2.29.0 Jan 15, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from dc4d948 to 5361f86 Compare January 15, 2024 11:17
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.29.0 Update shivammathur/setup-php action to v2.30.0 Mar 1, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 5361f86 to be682ce Compare March 1, 2024 13:56
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from be682ce to eaf2e3f Compare March 25, 2024 11:19
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.0 Update shivammathur/setup-php action to v2.30.1 Mar 25, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from f86904e to c191bd9 Compare June 24, 2024 03:37
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.30.5 Update shivammathur/setup-php action to v2.31.0 Jun 24, 2024
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from c191bd9 to 284fa12 Compare July 9, 2024 18:47
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.31.0 Update shivammathur/setup-php action to v2.31.1 Jul 9, 2024
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 9, 2024

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 284fa12 to 13adc35 Compare December 30, 2024 16:54
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.31.1 Update shivammathur/setup-php action to v2.32.0 Dec 30, 2024
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 13adc35 to 1e64f54 Compare April 15, 2025 10:54
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.32.0 Update shivammathur/setup-php action to v2.33.0 Apr 15, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 1e64f54 to 187dbf4 Compare June 10, 2025 15:59
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.33.0 Update shivammathur/setup-php action to v2.34.0 Jun 10, 2025
@coderabbitai
Copy link

coderabbitai bot commented Jun 10, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 187dbf4 to fb11ef7 Compare June 12, 2025 22:56
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.34.0 Update shivammathur/setup-php action to v2.34.1 Jun 12, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from fb11ef7 to ecdbd72 Compare July 28, 2025 18:54
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.34.1 Update shivammathur/setup-php action to v2.35.1 Jul 28, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from ecdbd72 to 93f1569 Compare July 29, 2025 20:33
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.35.1 Update shivammathur/setup-php action to v2.35.2 Jul 29, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 93f1569 to 7d7439f Compare August 10, 2025 08:49
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.35.2 Update shivammathur/setup-php action to v2.35.3 Aug 10, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 7d7439f to 62e29a9 Compare August 25, 2025 12:31
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.35.3 Update shivammathur/setup-php action to v2.35.4 Aug 25, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 62e29a9 to 29771d7 Compare September 18, 2025 18:27
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.35.4 Update shivammathur/setup-php action to v2.35.5 Sep 18, 2025
@sonarqubecloud
Copy link

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 29771d7 to cb19617 Compare November 26, 2025 17:06
@renovate renovate bot changed the title Update shivammathur/setup-php action to v2.35.5 Update shivammathur/setup-php action to v2.36.0 Nov 26, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant