Bug #19699 [Asn]: Generic.Files.LineLength giving false positives when tab-width is used

From: Date: Sun, 11 Nov 2012 22:15:06 +0000
Subject: Bug #19699 [Asn]: Generic.Files.LineLength giving false positives when tab-width is used
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-9323@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19699&edit=1 ID: 19699 Updated by: gsherwood@squiz.net Reported By: pear at kennel17 dot co dot uk -Summary: Generic.Files.LineLength giving false positives. +Summary: Generic.Files.LineLength giving false positives when tab-width is used Status: Assigned Type: Bug Package: PHP_CodeSniffer Operating System: All Package Version: 1.4.2 PHP Version: Irrelevant Assigned To: squiz Roadmap Versions: New Comment: -Summary: Generic.Files.LineLength giving false positives. +Summary: Generic.Files.LineLength giving false positives when tab-width is used Previous Comments: ------------------------------------------------------------------------ [2012-11-11 17:51:26] happydog Sent. ------------------------------------------------------------------------ [2012-11-11 02:40:09] squiz -Assigned To: +Assigned To: squiz Hi Mark, Please send me the test case: gsherwood at squiz dot net ------------------------------------------------------------------------ [2012-11-11 00:01:31] happydog OK - well, it looks like the crappy bug-tracker won't accept anything except text files, and even when I rename them "Example.txt" before uploading it borks and refuses the upload, as it has detected them as PHP files. I can't paste them here as white-space will be mangled, which I'm sure is the cause of the problem, so can someone either fix the bug-tracker or give me an e-mail address to send the test-cases to. ------------------------------------------------------------------------ [2012-11-10 23:55:00] happydog Description: ------------ I'm running the Generic.Files.LineLength Sniff on my files and am getting a lot of false positives. I will attach a test case which demonstrates the issue. ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19699&edit=1

« previous php.pear.bugs (#9323) next »