Skip to content

Introduce a Patcher interface #562

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

Merged
merged 4 commits into from
Jan 16, 2022
Merged

Conversation

theofidry
Copy link
Member

  • Introduce a Patcher interface which the current PHPScoper patchers now implement
  • Configuration now takes and gives a Patcher instance
  • PatchScoper now uses a Patcher instance
  • Move the previous patcher reducing logic from PatchScoper to the new PatcherChain class
  • The patchers from the (user) configuration are NOT changed: I do not want to require the user to import a class for it

@theofidry theofidry merged commit e0a8ac7 into humbug:master Jan 16, 2022
@theofidry theofidry deleted the feature/patchers branch January 16, 2022 22:01
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