Open pistej opened 2 years ago
Bug confirmed, meanwhile you can use:
<?php echo $var1,$var2; ?>
Or:
<?= $var1.$var2 ?>
I'm working on a fix, you can try composer require pdepend/pdepend:dev-fix/short-tags-multiple-variables
(if you use PHPMD from composer) to preview it and support comas in <?= ?>
tags.
Current Behavior
Unexpected token: ,, line: 6, col: 10, file:: /test.php
Expected Behavior
Analysis should work
Steps To Reproduce:
composer require --dev phpmd/phpmd
test.php
file with code example belowphp vendor/bin/phpmd test.php ansi naming
Example code
Checks before submitting