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

Input is added twice in the OptiPngProcessor. #762

Merged
merged 1 commit into from
Jul 22, 2016

Conversation

alexwilson
Copy link
Collaborator

Thanks to @notrix for spotting this!

@alexwilson alexwilson changed the title Input is added twice. Input is added twice in the OptiPngProcessor. Jul 22, 2016
@alexwilson
Copy link
Collaborator Author

Sorry to bother you again @lsmith77, would you mind looking at this one?

@@ -74,7 +74,6 @@ public function process(BinaryInterface $binary)
}

$pb->add($input = tempnam(sys_get_temp_dir(), 'imagine_optipng'));
Copy link

Choose a reason for hiding this comment

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

This line should be removed as $input is defined in line 62

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

👍

@alexwilson alexwilson force-pushed the 756-merge-conflict branch from 3360e17 to 34f4401 Compare July 22, 2016 14:08
@lsmith77
Copy link
Contributor

ah .. there it is already

@alexwilson
Copy link
Collaborator Author

Yep, tests passing - Not sure how it slipped by in the rebase, I must have resolved one of the merges incorrectly the first.
I'm thinking it might (separately) be worth adding some tests to prevent this kind of regression.

@lsmith77 lsmith77 merged commit cc881be into liip:master Jul 22, 2016
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