Closed arogachev closed 2 months ago
Q | A |
---|---|
Is bugfix? | ❌ |
New feature? | ✔️ |
Breaks BC? | ❌ |
Enhancing The Image Class An update was made to incorporate two new properties - 'aspectRatioWidth' and 'aspectRatioHeight'. These allow developers to work more accurately with image dimensions. We've also included a method called 'validateAspectRatio' to ensure the aspect ratio is correct. In addition, for ease of communication, an 'invalidAspectRatioMessage' is included to provide a warning if the aspect ratio is not as expected.
Strengthening the ImageHandler Class In order to ensure the optimal proportions of the image, the method 'validateAspectRatio' was added to the ImageHandler class which deals with image processing tasks.
Introducing the ImageHandlerContainer Class A new class called 'ImageHandlerContainer' has been developed. This class is important because it aligns with the 'RuleHandlerResolverInterface' further ensuring that the image handling follows the indicated guidelines.
Retrieving Image File Path A new function 'getImageFilePath' was integrated in the ImageHandler class, making it easier for developers to access the location of the image file.
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
1.x@f4c688c
). Click here to learn what that means.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.