This shows you the differences between two versions of the page.
lint [2009/10/16 09:19] Kornel |
lint [2024/09/05 04:06] (current) 2605:7980:0:208d::1 1 |
||
---|---|---|---|
Line 4: | Line 4: | ||
[[https://svn.motion-twin.com/phptal/trunk/tools/phptal_lint.php|Download latest phptal_lint.php]] | [[https://svn.motion-twin.com/phptal/trunk/tools/phptal_lint.php|Download latest phptal_lint.php]] | ||
+ | |||
===== Installation ===== | ===== Installation ===== | ||
- | ==== Unix & Mac OS X ==== | + | |
+ | ==== Unix & Mac OS X ==== | ||
Line 47: | Line 49: | ||
phptal_lint.php -e xhtml,zpt,tal,phtml -i myproject/includes/phptalmodifiers.php myproject/templates/ | phptal_lint.php -e xhtml,zpt,tal,phtml -i myproject/includes/phptalmodifiers.php myproject/templates/ | ||
- | Checks only *.xhtml, *.zpt, *.tal and *.phtml files in myproject/templates/. Will load myproject/includes/phptalmodifiers.php file first assuming it defines all TALES modifiers used by the templates. | + | Checks only ''*.xhtml'', ''*.zpt'', ''*.tal'' and ''*.phtml'' files in ''myproject/templates/''. Will load ''myproject/includes/phptalmodifiers.php'' file first assuming it defines all TALES modifiers used by the templates. |