Bug #19732 [Opn->Csd]: PSR2: some control structures errors not reported
| From: | gsherwood at squiz dot net | Date: | Wed, 05 Dec 2012 23:47:37 +0000 |
| Subject: | Bug #19732 [Opn->Csd]: PSR2: some control structures errors not reported | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9390@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19732&edit=1
ID: 19732
Updated by: gsherwood@squiz.net
Reported By: alxant7 at gmail dot com
Summary: PSR2: some control structures errors not reported
-Status: Open
+Status: Closed
Type: Bug
Package: PHP_CodeSniffer
Operating System: All
Package Version: 1.4.3
PHP Version: Irrelevant
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: squiz
Thanks. I forgot to add the sniff for that. It is now committed to the
github repo:
https://github.com/squizlabs/PHP_CodeSniffer/commit/f5be3288f4983afd0f49c300d33
8c47b8a7352e1
Previous Comments:
------------------------------------------------------------------------
[2012-12-05 19:08:39] alxant7
Description:
------------
No errors reported while the violations of the following PSR-2 rules
exists:
There MUST NOT be a space after the opening parenthesis
There MUST NOT be a space before the closing parenthesis
Test script:
---------------
<?php
if ( $expr ) {
}
Expected result:
----------------
Relevant errors reported
Actual result:
--------------
No errors reported
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19732&edit=1