Наследование: extends Flitch\Rule\AbstractRule, implements Flitch\Rule\FileRuleInterface
Пример #1
0
 public function testHandlingOfMultibyteCharacters()
 {
     $file = new File('foo.php', "<?php\n//" . str_repeat('ü', 75));
     $rule = new MaxLength();
     $rule->visitFile($file);
     $this->assertRuleViolations($file, array());
 }