[smarty mode] Fix lint errors