From: ("")
Date:  06 Dec 2014 03:11:28 Hong Kong Time

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

NNTP-Posting-Host:  null

Edit report at

 ID:               20457
 Comment by:
 Reported By:      woody dot gilk at gmail dot com
 Summary:          PHPCS no longer respects the --tab-width flag
 Status:           Open
 Type:             Bug
 Package:          PHP_CodeSniffer
 Operating System: OSX
 Package Version:  2.0.0
 PHP Version:      5.5.19
 Roadmap Versions: 
 New Comment:

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

Previous Comments:

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

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: