Skip to content

Conversation

@saeedvaziry
Copy link
Member

@saeedvaziry saeedvaziry commented Dec 6, 2025

Copilot AI review requested due to automatic review settings December 6, 2025 12:13
@saeedvaziry saeedvaziry merged commit 27ff716 into main Dec 6, 2025
5 checks passed
@saeedvaziry saeedvaziry deleted the fix branch December 6, 2025 12:14
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds backward compatibility for older PHP versions by conditionally calling setInteractiveMode() and setColorMode() methods only if they exist on the configuration object. This prevents fatal errors when using older versions of the Psy library that don't have these methods.

Key Changes:

  • Wrapped setInteractiveMode() and setColorMode() calls in method_exists() checks to ensure compatibility with older Psy library versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

[Bug]: Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled.

3 participants