예제 #1
0
 /**
  * Skip this rule when configured line endings contain carriage returns.
  *
  * @return bool
  */
 protected function skip()
 {
     $lineEndings = $this->configuration->getLineEndings();
     if ($lineEndings == "\r\n" || $lineEndings == "\r") {
         return true;
     }
     return parent::skip();
 }