> On 24 Apr 2019, at 21:56, Lester Caine <les...@lsces.co.uk> wrote: > > I've looked at these 'automatic tools' and until there is one that does not > enforce their own views of code style they are just another nail
While the pre-build rules may not be what you want - something like PHP_CodeSniffer will let you just run a single ‘sniff’ type by passing it’s name. Or use an IDE that has built-in support for inspections/fixing like this, or, as I said, run sed over your project files. Replacing ‘<? ‘ with ‘<?php ‘ is hardly a complex task.