2002-08-03 @ 08:33:48
· 作者 Volcano · 归类于 pear
有人提议使用phpCodeBeautiful的命令行,看这里:
http://club.phpe.net/index.php?act=ST&f=2&t=3701
在此基础上俺进行了修改,适合自己使用:
pcb.bat
代码片段:
set phpcb_path="F:Program FilesphpCB" %phpcb_path%phpCB.exe -space-after-if -space-after-switch -space-after-while -space-before-start-angle-bracket -space-after-end-angle-bracket -glue-amperscore -change-shell-comment-to-double-slashes-comment -force-large-php-code-tag -force-true-false-null-contant-lowercase --comment-rendering-style PEAR -align-equal-statements-to-fixed-pos -indent-with-tab -optimize-eol -align-equal-statements --padding-char-count 1 %1 > %TEMP%phpcbTemp.php move /Y %TEMP%phpcbTemp.php %1
|
|
作者: Volcano 发表于August 3, 2002 at 8:33 am
版权信息: 可以任意转载, 转载时请务必以超链接形式标明文章原始出处和作者信息及此声明
永久链接 - http://www.ooso.net/archives/29