FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17503&edit=1

ID: 17503
Updated by: gsherwood@squiz.net
Reported By: team at fazend dot com
Summary: closures formatting is not supported
-Status: Open
+Status: Closed
Type: Bug
Package: PHP_CodeSniffer
Package Version: 1.2.2
PHP Version: 5.3.2
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: squiz
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




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

[2010-06-18 16:12:48] fazend

Description:
------------
My code snippet looks correct, in terms of formatting. But PHPCS
says that it's wrong. Would be nice to fix it.

Test script:
---------------
<?php
$array = array();
array_map(
function($x)
{
return trim($x);
},
$array
);

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJun 23, '10 at 12:42a
activeJun 23, '10 at 12:42a
posts1
users1
websitepear.php.net

1 user in discussion

Gsherwood: 1 post

People

Translate

site design / logo © 2022 Grokbase