-
Notifications
You must be signed in to change notification settings - Fork 378
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
[1.0][resolver] do not expose targetPath
#282
[1.0][resolver] do not expose targetPath
#282
Conversation
|
I've setuped a sandbox for this bundle. I am testing web path and aws s3. It gives me more confidence in the work I am doing. Just want to let you know. @LouTerrailloune I would respond you asap. I still have to review the code and check your suggestions. |
@havvg this is ready for review. @LouTerrailloune thanks for your reply I found |
@@ -52,18 +52,13 @@ public function __construct(DataManager $dataManager, FilterManager $filterManag | |||
public function filterAction(Request $request, $path, $filter) | |||
{ | |||
$originalImagePath = $path; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need for this variable.
The |
} else { | ||
if ($this->logger) { | ||
$this->logger->warn('The object could not be created on Amazon S3.', array( | ||
'targetPath' => $targetPath, | ||
'targetPath' => $objectPath, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The context key should be renamed to objectPath
, too.
@havvg I believe I address all your comments. What about tests? Are you succeeded to run them locally? To run tests you have to run composer with --dev and the phpunit. nothing special. |
@havvg I did not squash commits because you may want to review them separately. Will do a rebase and squash once you say it is good to be merged |
Thanks so far, I will take another look. The tests are running now locally. |
PR out, good to rebase/squash :) |
@havvg rebased&squashed. I squashed your commits as a separate commit. |
@havvg ping |
…rget-path [1.0][resolver] do not expose `targetPath`
Thank you! |
next refactoring step after #281
fixes #162