This filter has several issues:
* Fundamentally, we don't use PEAR style guide - we're closer to Drupal style guide.
* Its only practical effect is to move squiggly braces... to the wrong place.
* It tangentially pulls in PEAR dependencies.
* It adds a ~4 seconds to GenCode (as measured on my laptop).
$this->beautifier = new PHP_Beautifier();
$this->beautifier->addFilter('ArrayNested');
// add one or more filters
- $this->beautifier->addFilter('Pear');
- // add one or more filters
$this->beautifier->addFilter('NewLines', array('after' => 'class, public, require, comment'));
$this->beautifier->setIndentChar(' ');
$this->beautifier->setIndentNumber(2);