Commit 7e62599
authored
Switch to prefixed version of the CssInliner package (#61191)
* Remove pelago/emogrifier dependency from email-editor and WooCommerce composer files, updating composer.lock accordingly.
We need to remove the pelago/emogrifier package, e.g, (composer remove pelago/emogrifier) from both the WooCommerce plugin and the Email Editor because removing it from only the plugin will still let it be included via the email editor package.
Since both the email editor package and the plugin rely on the same package, we need to update both simultaneously.
* Add Mozart config for the emogrifier package.
The `thecodingmachine/safe` config is required for `pelago/emogrifier` 8.1.0. This is required package install or update will throw an error without it.
* Add pelago/emogrifier to the Woo plugin and prefix the classes
* Use Prefixed package versions in the Woo core plugin and the email editor
* Add changelog files
* Patch phpstan errors
* Fix lint errors
The proper type will be added in another PR.
* Skip email editor tests pending when the final PR is completed.
* Skip markdownlint for generated files1 parent 5cdefcf commit 7e62599
File tree
137 files changed
+14782
-620
lines changed- packages/php/email-editor
- changelog
- src
- plugins/woocommerce
- changelog
- includes/emails
- lib
- classes/symfony/polyfill-php80/Resources/stubs
- packages
- Pelago/Emogrifier
- Caching
- Css
- HtmlProcessor
- Utilities
- Sabberworm/CSS
- CSSList
- Comment
- Parsing
- Position
- Property
- RuleSet
- Rule
- Value
- Symfony
- Component/CssSelector
- Exception
- Node
- Parser
- Handler
- Shortcut
- Tokenizer
- XPath
- Extension
- Polyfill/Php80
- Resources/stubs
- tests/e2e-pw/tests/email-editor
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
137 files changed
+14782
-620
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments