Ejemplo n.º 1
0
 /**
  * @param $token
  */
 public function writeNewLineForLongCommaInlineValues($token)
 {
     if (',' === $token[Tokenizer::TOKEN_VALUE]) {
         if ($this->formatter->getInlineCount() >= 30) {
             $this->formatter->setInlineCount(0);
             $this->newline = true;
         }
     }
 }
Ejemplo n.º 2
0
 /**
  *
  */
 public function writeNewInlineParentheses()
 {
     $this->inlineParentheses = true;
     $this->formatter->setInlineCount(0);
     $this->indentation->setInlineIndented(false);
 }