Skip to content

Allow PHP 8-compatible Monolog releases in sample apps - #170

Merged
TheRealAgentK merged 2 commits into
masterfrom
fix/sample-app-patched-php
Oct 23, 2026
Merged

TheRealAgentK merged 2 commits into
masterfrom
fix/sample-app-patched-php

Conversation

@TheRealAgentK

@TheRealAgentK TheRealAgentK commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Replace the Monolog 2.0.2 pin with ^2.1 in both sample applications. Monolog 2.0.2 restricts PHP to ^7.2, preventing installation on PHP 8; the newer 2.x range permits PHP 8-compatible releases without changing the Monolog major version.

Following review feedback, the explicit PHP security-version constraints and README changes have been removed. The net diff is one dependency constraint change in each sample manifest. No SDK-wide support policy or sample application logic changes.

Validation

  • Both sample manifests pass Composer validation, with the existing missing-license metadata warning.
  • Fresh dependency installations and Composer platform checks pass for both samples on PHP 8.5.12.
  • Earlier smoke checks with the same Monolog range verified normal calculations and division-by-zero report payloads, including async shutdown flushing. Reports were captured locally, not sent to Raygun.
  • git diff --check passed.

Document restricted-access use and branch-specific PHP security floors. Allow PHP 8-compatible Monolog 2.x releases so the samples install on patched runtimes.
@TheRealAgentK

Copy link
Copy Markdown
Contributor Author

@robbieaverill - sorry couldn't tag you as a reviewer, but I thought it'd be useful to get your feedback.

Comment thread sample-apps/async-example/composer.json Resolved

@robbieaverill robbieaverill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @TheRealAgentK, I've left a few comments here

Comment thread sample-apps/sync-example/README.md Resolved
Comment thread sample-apps/sync-example/composer.json Resolved
@TheRealAgentK TheRealAgentK changed the title Require patched PHP runtimes for sample apps Allow PHP 8-compatible Monolog releases in sample apps Oct 23, 2026
@TheRealAgentK
TheRealAgentK merged commit 0183968 into master Oct 23, 2026
4 checks passed
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.

3 participants