From:  gsherwood@squiz.net
Date:  06 Dec 2014 05:00:57 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #20457 [Opn->Csd]: PHPCS no longer respects the --tab-width flag

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=20457&edit=1

 ID:               20457
 Updated by:       gsherwood@squiz.net
 Reported By:      woody dot gilk at gmail dot com
 Summary:          PHPCS no longer respects the --tab-width flag
-Status:           Open
+Status:           Closed
 Type:             Bug
 Package:          PHP_CodeSniffer
 Operating System: OSX
 Package Version:  2.0.0
 PHP Version:      5.5.19
-Assigned To:      
+Assigned To:      squiz
 Roadmap Versions: 
 New Comment:

-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: squiz
Moved to: https://github.com/squizlabs/PHP_CodeSniffer/issues/340


Previous Comments:
------------------------------------------------------------------------

[2014-12-05 19:11:27] shadowhand

Confirmed that the same test script works correctly with phpcs v1.5.6

------------------------------------------------------------------------

[2014-12-05 19:04:57] shadowhand

Description:
------------
We use PSR2, but with tabs instead of spaces. After upgrading to 
PHPCS 2.0, the --tab-width=4 setting no longer works.

Reproduce with:

phpcs --standard=PSR2 --tab-width=4 Widget.php

Test script:
---------------