Closed Ciaro closed 10 years ago
:+1:
Can you write a test over here?
public function testWindowsStyleLineEndings() {
$code = implode(null, array(
"\$arr = array(",
"\r\n\t'foo' => 'bar',",
"\r\n);",
));
$this->assertRulePass($code, $this->rule);
}
Done, thanks for providing the test @blainesch!
Only Unix based platforms were taken into account for the rule 'TabsOnlyAppearFirst'.