Skip to content

[TEST] Enforce minimum PHP security patch versions - #590

Merged
Kanti merged 1 commit into
webdevops:masterfrom
andersundsehr:test/php-minimum-patch-versions
Oct 21, 2026
Merged

Kanti merged 1 commit into
webdevops:masterfrom
andersundsehr:test/php-minimum-patch-versions

Conversation

@Kanti

@Kanti Kanti commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

The existing version test accepts any patch release. Add minimum versions for the PHP security releases published on 2026-10-21:

  • PHP 8.2.35
  • PHP 8.3.36
  • PHP 8.4.27
  • PHP 8.5.12

Check PHP_VERSION against the image tag's minor series. Accept newer stable patches and reject older patches and prereleases. Reuse the shared Serverspec test across the existing image matrix.

Validation: Ruby syntax and git diff --check passed. All 88 boundary scenarios passed with simulated command results. The full image matrix was not run.

related: #583

@sonarqubecloud

Copy link
Copy Markdown

@Kanti
Kanti merged commit 8fb379d into webdevops:master Oct 21, 2026
155 of 156 checks passed
@Kanti
Kanti deleted the test/php-minimum-patch-versions branch October 21, 2026 17:57
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