PHP_CodeSniffer and PEAR standard - question on IF statement

From: Date: Sun, 14 Jun 2009 18:42:17 +0000
Subject: PHP_CodeSniffer and PEAR standard - question on IF statement
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-51976@lists.php.net to get a copy of this message
While I run PHPCS on my proposal PEAR_TestListener, I found on a particular case. While I try to fix the WARNING limit to 85 characters on a IF statement
      if ($handler->childNodes->item(1) instanceof DOMElement) {
I've changed it to
      if ($handler->childNodes->item(1)
          instanceof DOMElement
      ) {
But then I got this error : 128 | ERROR | Each line in a multi-line IF statement must begin with a
     |        | boolean operator
How could I fix it ?

« previous php.pear.dev (#51976) next »