I have a file with file extension *.phtml in which i have written mixed code PHP, HTML and Javascript.
I want to validate that inline javascript code using this tool.
I used command line
plato -r -d api/plato test.phtml test1r.js test2.js test3.js
But plato only evaluate .js file not .phtml files.
So, Is there any option available to allow file extensions ?
For example plato --extensions=js,phtml -r -d api/plato test.phtml test1r.js test2.js test3.js
I have a file with file extension *.phtml in which i have written mixed code PHP, HTML and Javascript. I want to validate that inline javascript code using this tool. I used command line
plato -r -d api/plato test.phtml test1r.js test2.js test3.js
But plato only evaluate .js file not .phtml files.
So, Is there any option available to allow file extensions ? For example
plato --extensions=js,phtml -r -d api/plato test.phtml test1r.js test2.js test3.js