Commit Graph

28 Commits

Author SHA1 Message Date
030bd8c1c8 Fix PHPStan parameter type error introduced after update to version 0.12.83
This commit fixes the following PHPStan errors introduced after the update to version 0.12.83:

```
 ------ ----------------------------------------------------------------------
  Line   lib/Newsletter/Renderer/Blocks/Footer.php
 ------ ----------------------------------------------------------------------
  18     Parameter #1 $html of method MailPoet\Util\pQuery\pQuery::parseStr()
         expects string, array|string|null given.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   lib/Newsletter/Renderer/Blocks/Header.php
 ------ ----------------------------------------------------------------------
  18     Parameter #1 $html of method MailPoet\Util\pQuery\pQuery::parseStr()
         expects string, array|string|null given.
 ------ ----------------------------------------------------------------------
```

[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
be631bd549 Use DI for blocks rendering
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
9166f280d0 Move CSS to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
48a6a842da Add test for header renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
604583bbc8 Refactor footer and header renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
756ebe673b Get rid of global & encoding in post process
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
35d39a6ac9 Implement adjustable line-height
[MAILPOET-1450]
2019-03-05 07:21:16 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
cd2ababade Refactor utils CSS so that it can be used as service in DI container
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
f1ab901e02 Preserve inlined link styles in header and footer
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
e74938df90 Updates code to use the extended pQuery class 2017-02-13 21:00:45 -05:00
bf1ab3a593 - Removes space between (int) and variable 2016-05-18 10:00:38 -04:00
2e42305710 Updates line breaks in footer/header to match the editor 2016-04-22 12:30:57 +03:00
ba40437eb9 - Enables dynamic line-height based on font-size 2016-04-08 15:19:14 -04:00
4f30158722 - Updates button height calculation
- Removes background color when it's set to "transparent"
- Removes second line break from paragraphs
- Introduces other changes based on Becks's testing
- Updates unit tests
2016-03-31 19:19:58 -04:00
263a66407f - Removes mailpoet_padded class from the last element in a column 2016-03-03 19:13:50 -05:00
de70e855ad - Replaces regex with DOM queries 2016-01-25 21:09:16 -05:00
dbc0f9b238 - Removes header padding 2016-01-08 11:23:02 -05:00
d1df94c759 - Addresses issues identified during code review 2016-01-07 17:24:46 -05:00
2793e74858 - Rewrites the rendering engine
- Updates tests
Closes #280
2016-01-07 17:24:32 -05:00
b3e376cd01 - Refactored using @badshark's comments
- Integrated changes to JSON data
2015-09-23 11:24:08 -04:00
01b5416882 Refactors Newsletters as per @badshark's comments 2015-09-23 09:28:00 -04:00