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

Add dependencies scoping #1

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

Add dependencies scoping #1

wants to merge 11 commits into from

Conversation

ahegyes
Copy link
Contributor

@ahegyes ahegyes commented Oct 10, 2023

Changes proposed in this Pull Request

  • Adds a small framework built on top of humbug/php-scoper for scoping 3rd-party PHP libraries; this is useful to prevent conflicts with other plugins when including 3rd-party code;
  • Adds a GH Action for automatically building and releasing the code; takes into account the new scoping logic;

Testing instructions

  • Checkout this branch and run composer run-script packages-install. That should generate a new dependencies folder with the scoped psr/log and psr/container libraries.

@ahegyes
Copy link
Contributor Author

ahegyes commented Oct 10, 2023

This PR makes use of this newly-added file to the a8cteam51/team51-configs repository: https://github.com/a8cteam51/team51-configs/blob/trunk/composer/ScopePhpDependencies.php

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