-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
pelago/emogrifier and friendsofphp/php-cs-fixer updated #31772
Merged
sivaschenko
merged 18 commits into
magento:php8-develop
from
konarshankar07:php8-miscellaneous-dependency
Jan 29, 2021
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8baf259
pelago/emogrifier and friendsofphp/php-cs-fixer updated
konarshankar07 3750a84
Compatibility with Pelago\Emogrifier updates
konarshankar07 8ec4878
Fixed unit test
konarshankar07 6e51158
Feedback changes for preserving the existing interface of framework c…
konarshankar07 e259c61
Feeback changes for changing the optional parameters
konarshankar07 6ab99af
composer lock file regenerated using 1.10.19 version
konarshankar07 cd0dad1
friendsofphp/php-cs-fixer upgraded to 2.18.1
konarshankar07 6f19a4e
Fixed static tests
konarshankar07 5cdb807
Fixed unit test
konarshankar07 780d166
Fixed Integration tests
konarshankar07 6a2ec97
magento/magento2#31342: Updated CssInliner in a backward compatible way
sivaschenko 78c6f55
Merge branch 'php8-develop' of github.com:magento/magento2 into php8-…
sivaschenko 48c61c8
magento/magento2#31342: Added default values for CssInliner properties
sivaschenko 2d621ef
Fixed unit test
konarshankar07 e992a93
Updates for refactoring
konarshankar07 7f21ad7
Fixed Merge conflict
konarshankar07 1668e90
magento/magento2#31342: Handled ContentProcessorException in backward…
sivaschenko ce09f9f
Updated composer.lock
sivaschenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@sivaschenko .. I have added this commit to fix the integration test for
magento2/dev/tests/integration/testsuite/Magento/Email/Model/Template/FilterTest.php
Line 423 in 2b21388
Can you please review this? I feel we need to handle this in different way
Thanks
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.
@konarshankar07 Looks like emogrifier is no longer actually working with CSS string containing the error message.
I think the best way to handle the CSS parsing error is to throw an exception in
\Magento\Email\Model\Template\Filter::getCssFilesContent
and handle it in client code.Instead of returning an exception message as the result css and then parsing the result for error messages.
Thank you!