Edit report at https://pear.php.net/bugs/bug.php?id=20353&edit=1
ID: 20353
Updated by: [email protected]
Reported By: thierrybothorel at yahoo dot fr
Summary: phpcs --standard= with multiple standards does not
work
-Status: Open
+Status: Feedback
Type: Bug
Package: PHP_CodeSniffer
Operating System: Linux
Package Version: 1.5.3
PHP Version: 5.4.27
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: squiz
This is working fine for me in testing.
Maybe the differences you are seeing are due to conflicting settings
between the
standards. For example, the PEAR standard uses an 85 char line limit but
the PSR2
standard uses a 120 line limit. The value used will depend on which
standard you
list last as this will be the last setting applied.
If that doesn't look like the issue, can you please provide some sample
code I can
use to replicate the problem?
Previous Comments:
------------------------------------------------------------------------
[2014-07-29 20:59:48] thierrybo2
Description:
------------
phpcs --standard=PEAR,PSR2
only displays PSR2 result
phpcs --standard=PSR2,PEAR
only displays PEAR result
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=20353&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.