Commit 829143d
committed
fix(fonts): drop always-true state guard that broke Homeboy lint
Inline embedded_fonts_css assignment now that state union guarantees
'embedded' after the preserved branch returns.
Errors fixed:
- phpstan.identical.alwaysTrue: 'embedded' === 'embedded' always evaluates
to true at level 7
PHP 8.2 compatible. All CI checks passing.
Refs Automattic#8391 parent b730dee commit 829143d
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 125 | + | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
0 commit comments