// No: $a=$b+$c; // Yes: $a = $b + $c;
$a = getFoo( $b ); $c = getBar();
// Yes $a = [ 'foo', 'bar' ]; $c = $a[0]; $x = []; //No $a = ['foo', 'bar']; $c = a[ 0 ]; $x = [ ];
// Yes if ( isFoo() ) { $a = 'foo'; } // No if( isFoo() ) { $a = 'foo'; }
// Yes (int)$foo; // No (int) $bar; ( int )$bar; ( int ) $bar;
// Yes: Proper inline comment //No: Missing space /***** Do not comment like this ***/
cd ABABU_DOCUMENT_ROOT
xgettext --from-code=utf-8 -L PHP --join-existing -p locale/en/LC_MESSAGES $(find . -name "*.php")
sudo msgfmt messages.po