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

ID: 19748
Updated by: benoit.leveque@gmail.com
Reported By: benoit dot leveque@gmail.com
Summary: code sniffer error with closure in function call
-Status: Open
+Status: Closed
Type: Bug
Package: PHP_CodeSniffer
Operating System: Ubuntu 11.10
Package Version: 1.4.3
PHP Version: 5.3.15
-Assigned To:
+Assigned To: blacksmith
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: blacksmith
ok, this work has expected


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

[2012-12-12 16:55:06] blacksmith

Description:
------------
when i run phpcs with psr2 standard i get an error with closure user
inside function call

Test script:
---------------
https://gist.github.com/4269459

Expected result:
----------------
no error

Actual result:
--------------
--------------------------------------------------------------------------------

FOUND 2 ERROR(S) AFFECTING 2 LINE(S)

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

4 | ERROR | Opening parenthesis of a multi-line function call must be
the
last content on the line
6 | ERROR | Closing parenthesis of a multi-line function call must be on
a
line by itself
--------------------------------------------------------------------------------

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 12, '12 at 6:02p
activeDec 12, '12 at 6:02p
posts1
users1
websitepear.php.net

1 user in discussion

Benoit Leveque: 1 post

People

Translate

site design / logo © 2022 Grokbase