Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 15, 2025

Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.32.0 -> 2.35.5

Release Notes

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

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


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 is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@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
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 052938a to 1745293 Compare June 10, 2025 12:40
@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 1745293 to afddf0a Compare June 12, 2025 21:58
@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 afddf0a to 8eca8e4 Compare July 28, 2025 18:32
@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 8eca8e4 to d99f812 Compare July 29, 2025 20:09
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from d99f812 to cecad6e Compare August 10, 2025 09:29
@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 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 cecad6e to 3cade4d Compare August 25, 2025 12:36
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 3cade4d to 2c63442 Compare September 18, 2025 18:50
@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
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.

0 participants