Repository navigation
Commit a811232
Use NOWDOC syntax in RenderCardBlockTest
Switches $expected in test_card_block_renders_with_background_color from a
regular single-quoted string to a NOWDOC (<<<'HTML') with an indented
closing marker. The result is easier to read and aligns naturally with the
surrounding method indentation. Indented closing markers require PHP 7.3+,
which is the minimum version for WordPress 7.0.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent badabdf commit a811232
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | | - | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
0 commit comments