Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 28, 2025

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.34.1 -> 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


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.

@github-actions
Copy link

github-actions bot commented Jul 28, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/shivammathur/setup-php 44454db4f0199b8b9685a5d763dc37cbf79108e1 🟢 7.3
Details
CheckScoreReason
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review⚠️ 0Found 1/25 approved changesets -- score normalized to 0
Maintained🟢 1030 commit(s) and 27 issue activity found in the last 90 days -- score normalized to 10
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
CII-Best-Practices🟢 5badge detected: Passing
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Packaging🟢 10packaging workflow detected
Vulnerabilities🟢 100 existing vulnerabilities detected
SAST🟢 7SAST tool detected but not run on all commits

Scanned Files

  • .github/workflows/ci-integration.yml

@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 2a73f9b to c76a050 Compare August 7, 2025 11:00
@renovate renovate bot changed the title chore(deps): update shivammathur/setup-php action to v2.35.1 chore(deps): update shivammathur/setup-php action to v2.35.2 Aug 7, 2025
@coderabbitai
Copy link

coderabbitai bot commented Aug 7, 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 changed the title chore(deps): update shivammathur/setup-php action to v2.35.2 chore(deps): 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 c76a050 to 5408f67 Compare August 10, 2025 09:04
@renovate renovate bot changed the title chore(deps): update shivammathur/setup-php action to v2.35.3 chore(deps): 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 5408f67 to 2acb61f Compare August 25, 2025 10:56
@renovate renovate bot changed the title chore(deps): update shivammathur/setup-php action to v2.35.4 chore(deps): update shivammathur/setup-php action to v2.35.5 Sep 18, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 2acb61f to e08c326 Compare September 18, 2025 17:37
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch 7 times, most recently from ad4d4d0 to 74f4588 Compare October 2, 2025 17:26
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch 4 times, most recently from 3086a7c to a643a3c Compare October 14, 2025 11:39
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from a643a3c to 8c1600b Compare October 18, 2025 08:46
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch 4 times, most recently from 62b542d to eec23a5 Compare October 31, 2025 19:47
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch 2 times, most recently from b48c73c to ba6e419 Compare November 11, 2025 13:13
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch 4 times, most recently from 681c03a to 04b4576 Compare November 20, 2025 21:33
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch 2 times, most recently from 555e36a to 8cfb734 Compare November 26, 2025 17:09
@renovate renovate bot changed the title chore(deps): update shivammathur/setup-php action to v2.35.5 chore(deps): update shivammathur/setup-php action to v2.36.0 Nov 26, 2025
@renovate renovate bot force-pushed the renovate/shivammathur-setup-php-2.x branch from 8cfb734 to 8666a6f Compare December 1, 2025 13:59
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 1, 2025

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant