Skip to content

Upgrade PHP security tooling to PHP 8.5 - #11

Merged
OllieJC merged 2 commits into
mainfrom
dependabot/docker/tools/security/library/php-8.5-cli-bookworm
Oct 19, 2026
Merged

OllieJC merged 2 commits into
mainfrom
dependabot/docker/tools/security/library/php-8.5-cli-bookworm

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Upgrade the PHP security scanner runtime from PHP 8.3 to PHP 8.5 and update Psalm from 6.5.0 to 6.20.0. The scanner image uses the extensions already enabled in the official PHP CLI image, avoiding the DOM extension rebuild that failed with missing Lexbor headers.

  • Set the isolated tooling requirement and Composer platform to PHP 8.5, and refresh the development dependency lockfile.
  • Check the actual runtime and installed extensions with composer check-platform-reqs before scanning.
  • Add PHP 8.5 to protocol and syntax CI alongside PHP 8.1 and 8.3, and document the updated tooling environment.
  • Preserve the plugin's PHP 8.1 analysis target and keep PHP scans offline with read-only source mounts.

Validation performed locally:

  • PHP 8.5 scanner image built successfully.
  • Psalm 6.20.0, WordPressCS, and Semgrep CE production scans and detection fixtures passed.
  • PHP 8.5 protocol suite: 28 passed, zero failed; plugin PHP syntax checks passed.
  • Strict Composer validation and actual platform checks passed; dependency update reported no security advisories.
  • Both changed workflows passed actionlint.
  • Release inventory, ZIP integrity, and scanner/fixture exclusion checks passed.

Bumps library/php from 8.3-cli-bookworm to 8.5-cli-bookworm.

---
updated-dependencies:
- dependency-name: library/php
  dependency-version: 8.5-cli-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file docker Pull requests that update docker code labels Oct 19, 2026
@OllieJC OllieJC changed the title Bump library/php from 8.3-cli-bookworm to 8.5-cli-bookworm in /tools/security Upgrade PHP security tooling to PHP 8.5 Oct 19, 2026
@OllieJC
OllieJC merged commit 654d517 into main Oct 19, 2026
12 checks passed
@dependabot
dependabot Bot deleted the dependabot/docker/tools/security/library/php-8.5-cli-bookworm branch October 19, 2026 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file docker Pull requests that update docker code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant