[header] categories=General cfgFileParameterEnding=" " configFilename= fileTypes=*.php|*.htm|*.html|*.xhtml indenterFileName=phpCB indenterName=PHP Code Beautifier (PHP) inputFileName=indentinput inputFileParameter= manual=http://www.waterproof.fr/products/phpCodeBeautifier/manual.php outputFileName= outputFileParameter=stdout parameterOrder=pio showHelpParameter=-h stringparaminquotes=false useCfgFileParameter= version=2007-02-21 [Align all assignement statements] Category=0 Description=Align all assignement statements EditorType=boolean TrueFalse=--align-equal-statements| ValueDefault=1 [Align all assignement statements to a fixed position] CallName="--align-equal-statements-to-fixed-pos " Category=0 Description="Align all assignement statements to a fixed position.
SourceWith --align-equal-statements-to-fixed-pos 40
<?php 
$noError = true;
$feildEmpty = false;
$showMessage = false;
$showMessage = false;
$anotherVariable[0123] = 'bla bla bla';
$showBlaBlaBlaMessage = false;
?>
<?php 
$noError = true;
$feildEmpty = false;
$showMessage = false;
$showMessage = false;
$anotherVariable[0123] = 'bla bla bla';
$showBlaBlaBlaMessage = false;
?>
" EditorType=numeric Enabled=false MaxVal=60 MinVal=4 ValueDefault=30 [Allow to insert a space after '('] Category=0 Description=Allow to insert a space after start bracket '(' EditorType=boolean TrueFalse=--space-after-start-bracket| ValueDefault=0 [Allow to insert a space after 'if'] Category=0 Description=Allow to insert a space after 'if' keyword EditorType=boolean TrueFalse=--space-after-if| ValueDefault=1 [Allow to insert a space after 'switch'] Category=0 Description=Allow to insert a space after 'switch' keyword EditorType=boolean TrueFalse=--space-after-switch| ValueDefault=1 [Allow to insert a space after 'while'] Category=0 Description=Allow to insert a space after 'while' keyword EditorType=boolean TrueFalse=--space-after-while| ValueDefault=1 [Allow to insert a space after '}'] Category=0 Description=Allow to insert a space after starting angle bracket '}' EditorType=boolean TrueFalse=--space-after-end-angle-bracket| ValueDefault=1 [Allow to insert a space before ')'] Category=0 Description=Allow to insert a space before end bracket ')' EditorType=boolean TrueFalse=--space-before-end-bracket| ValueDefault=0 [Allow to insert a space before '{'] Category=0 Description=Allow to insert a space before starting angle bracket '{' EditorType=boolean TrueFalse=--space-before-start-angle-bracket| ValueDefault=1 [Change comments] Category=0 Description="Change '# ...' comments into '// ...' comments
SourceWith --change-shell-comment-to-double-slashes-commentWithout --change-shell-comment-to-double-slashes-comment
<?php

#comment content
//another comment
?>
<?php

// comment content
// another comment
?>
<?php

# comment content
// another comment
?>
" EditorType=boolean TrueFalse=--change-shell-comment-to-double-slashes-comment| ValueDefault=1 [Comment render style] Category=0 Choices="--comment-rendering-style PEAR|--comment-rendering-style PHPDoc" ChoicesReadable="PEAR comment rendering style|PHPDoc comment rendering style" Description="The following style of comment formating are available:
--comment-rendering-style PEAR--comment-rendering-style PHPDoc
<?php

/**
* bla bla bla
*
* @access public
*/
?>
<?php

/**
* bla bla bla
*
* @access public
*/
?>
" EditorType=multiple Enabled=true ValueDefault=0 [Force large PHP code tag] Category=0 Description="Change '<?' and '<%' tokens into '<?php' and '%>' into '?>'" EditorType=boolean TrueFalse=--force-large-php-code-tag| ValueDefault=1 [Glue "&&" to following item] Category=0 Description="Glue '&' to following item

With --glue-amperscoreWithout --glue-amperscore
<?php
$value = &$objectInstance;
?>
<?php
$value = & $objectInstance;
?>
" EditorType=boolean TrueFalse=--glue-amperscore| ValueDefault=1 [Increase padding before case statements] Category=0 Description="Increase padding before case statements:
With --extra-padding-for-case-statementWithout --extra-padding-for-case-statement
<?php

switch($condition){
case 1:
action1();
break;
case 2:
action2();
break;
default:
defaultaction();
break;
}
?>
<?php

switch($condition){
case 1:
action1();
break;
case 2:
action2();
break;
default:
defaultaction();
break;
}
?>
" EditorType=boolean TrueFalse=--extra-padding-for-case-statement| ValueDefault=0 [Indent with TAB] Category=0 Description="If selected, tabulation (ASCII #9) character is used to indent text, elsewhere space (ASCII #32) character is used" EditorType=boolean TrueFalse=--indent-with-tab| ValueDefault=0 [Lowercase for NULL, TRUE and FALSE constants] Category=0 Description="Lowercase for NULL, TRUE and FALSE constants as encouraged in PEAR coding standards
With --force-true-false-null-contant-lowercaseWithout --force-true-false-null-contant-lowercase
<?php
if(true){
if(false){
$value = null;
}
}
?>
<?php
if(TRUE){
if(FALSE){
$value = NULL;
}
}
?>
" EditorType=boolean TrueFalse=--force-true-false-null-contant-lowercase| ValueDefault=1 [Padding char count] CallName="--padding-char-count " Category=0 Description=Indent using # spaces per indent EditorType=numeric Enabled=false MaxVal=8 MinVal=0 ValueDefault=4 [Use "One true brace" formating for functions] Category=0 Description="Use 'One true brace' formating for functions
With --one-true-brace-function-declarationWithout --one-true-brace-function-declaration
<?php

function aFunction($param)
{
// function content
}
?>
<?php

function aFunction($param) {
// function content
}
?>
" EditorType=boolean TrueFalse=--one-true-brace-function-declaration| ValueDefault=1