Bug #16991 [Opn]: fluent interface is not parsed
| From: | jespinog at gmail dot com | Date: | Sun, 30 May 2010 01:58:43 +0000 |
| Subject: | Bug #16991 [Opn]: fluent interface is not parsed | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3827@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16991&edit=1
ID: 16991
Updated by: jespinog@gmail.com
Reported By: team at fazend dot com
Summary: fluent interface is not parsed
Status: Open
Type: Bug
Package: PHP_Beautifier
Operating System: MacOS
Package Version: 0.1.14
PHP Version: 5.3.1
-Assigned To:
+Assigned To: jespino
Roadmap Versions:
New Comment:
-Assigned To:
+Assigned To: jespino
Previous Comments:
------------------------------------------------------------------------
[2010-01-13 12:59:37] fazend
Description:
------------
Fluent interface is not parsed, but this type of formatting is widely
used in
Zend Framework. Did I miss a way to solve this problem?
Test script:
---------------
$this
->addFile('a.txt')
->addFile('b.txt')
->addFile('e.txt');
Expected result:
----------------
$this
->addFile('a.txt')
->addFile('b.txt')
->addFile('e.txt');
Actual result:
--------------
$this->addFile('a.txt')->addFile('b.txt')->addFile('e.txt');
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16991&edit=1