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

apply scheduled patches only once #21

Merged
merged 2 commits into from
Mar 18, 2015

Conversation

alexey-zaharchenko
Copy link
Contributor

In our project we use zend autoloader, so it's not easy control then class will be loaded, before or after I replace it's method. I found that if class loaded after, sometimes my replacement function call multiply time per one original method call.

That look like it's right to unset State::$scheduledPatches after them applied, but I'm not sure.

@alexey-zaharchenko
Copy link
Contributor Author

Yep, I forget about 5.3, I'l soon fix

antecedent added a commit that referenced this pull request Mar 18, 2015
apply scheduled patches only once
@antecedent antecedent merged commit b0e4d91 into antecedent:master Mar 18, 2015
@antecedent
Copy link
Owner

Thank you for taking the time to isolate the problem in Patchwork's code :) Merged, finalized, will soon tag as 1.3.4.

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.

2 participants