Doc->Bug #19324 [Opn]: Setting show_warnings configuration option does not work

From: Date: Mon, 12 Mar 2012 01:54:54 +0000
Subject: Doc->Bug #19324 [Opn]: Setting show_warnings configuration option does not work
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8375@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19324&edit=1 ID: 19324 Updated by: gsherwood@squiz.net Reported By: deniz at dogan dot se -Summary: Documentation confusing/incorrect regarding configuring warnings +Summary: Setting show_warnings configuration option does not work Status: Open -Type: Documentation Problem +Type: Bug Package: PHP_CodeSniffer Package Version: 1.3.3 PHP Version: 5.3.10 -Assigned To: +Assigned To: squiz Roadmap Versions: New Comment: -Summary: Documentation confusing/incorrect regarding configuring warnings +Summary: Setting show_warnings configuration option does not work -Type: Documentation Problem +Type: Bug -Assigned To: +Assigned To: squiz The documentation is correct, but a code change broke that functionality. Previous Comments: ------------------------------------------------------------------------ [2012-03-09 09:20:13] damd Description: ------------ The documentation clearly states: To hide warnings by default, set the show_warnings configuration option to 0. phpcs --config-set show_warnings 0 This doesn't actually hide the warnings I get in my report about line lengths. Expected result: ---------------- I expect the output to not contain any WARNING lines. Actual result: -------------- I get e.g. 38 | WARNING | Line exceeds 85 characters; contains 94 characters ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19324&edit=1

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