Run Rector on your code to see what it can do for you:
<?php # its a .phtml file ?>
-<td<?php $this->call($a, 'v') ? ' class="x"' : '' ?>><?php +<td<?php if ($this->call($a, 'v')) { +}><?php
Applied Rules:
Not a change you expect?
rector.php