Psr-3 placeholders are not replaced by MessagePlaceholderProcessor
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3546367. --> Reported by: [lussoluca](https://www.drupal.org/user/138068) Related to !32 >>> <p>With messages like:</p> <div class="codeblock"> <pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br>$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">logger</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">info</span><span style="color: #007700">(</span><span style="color: #DD0000">"Processing element @element"</span><span style="color: #007700">, [</span><span style="color: #DD0000">'@element' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">entity</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">label</span><span style="color: #007700">()]);<br></span><span style="color: #0000BB">?&gt;</span></span></pre></div> <p>Placeholders are correctly replaced: "Processing element label".</p> <p>With messages like:</p> <div class="codeblock"> <pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br>$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">logger</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">info</span><span style="color: #007700">(</span><span style="color: #DD0000">"Processing element {element}"</span><span style="color: #007700">, [</span><span style="color: #DD0000">'element' </span><span style="color: #007700">=&gt; </span><span style="color: #0000BB">entity</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">label</span><span style="color: #007700">()]);<br></span><span style="color: #0000BB">?&gt;</span></span></pre></div> <p>The message logged is "Processing element {element}"; this is the psr-3 format, and it must work.</p>
issue