Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with PHP-Scoper (968) #2993

Open
wants to merge 32 commits into
base: trunk
Choose a base branch
from

Conversation

Narek13
Copy link
Collaborator

@Narek13 Narek13 commented Jan 15, 2025

Issue Description

We have received some reports about the fatal errors when running the plugin alongside the psr/log package, so we need to use the PHP-Scoper to scope the package

PR Description

The PR will integrate PHP-Scoper with everything excluded except of the psr/log package.

scoper.inc.php Outdated Show resolved Hide resolved
Copy link
Collaborator

@Biont Biont left a comment

Choose a reason for hiding this comment

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

Really just a small inquiry to add a comment.

On a larger scale, this change begs the question why we're even using PSR contracts - if not to stay compatible with a larger ecosystem.

I know this still allows us to use generic modules internally (and simply not expose a standard API after the build process), but if we have any intention of allowing third-party devs to interface with our code, we might want to consider PsrCompatWrapper objects of some sort. But that's just a remark.

scoper.inc.php Outdated Show resolved Hide resolved
@Narek13 Narek13 requested a review from Biont January 16, 2025 07:46
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