Bug #60809 [Ctl->Csd]: TRAITS - PHPDoc Comment Style Bug
| From: | dmitry@php.net | Date: | Fri, 20 Jan 2012 12:48:29 +0000 |
| Subject: | Bug #60809 [Ctl->Csd]: TRAITS - PHPDoc Comment Style Bug | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-166649@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60809&edit=1
ID: 60809
Updated by: dmitry@php.net
Reported by: micronix at gmx dot net
Summary: TRAITS - PHPDoc Comment Style Bug
-Status: Critical
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: Windows
PHP Version: 5.4.0RC5
Assigned To: pierrick
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-01-20 12:30:58] dmitry@php.net
Automatic comment from SVN on behalf of dmitry
Revision: http://svn.php.net/viewvc/?view=revision&revision=322495
Log: Fixed Bug #60809 (TRAITS - PHPDoc Comment Style Bug)
Fixed some other traits related bugs (uninitialized variable, return => continue)
Removed some trait related redundant code and variables
------------------------------------------------------------------------
[2012-01-20 02:39:57] pierrick@php.net
The following patch has been added/updated:
Patch Name: bug60809.phpt
Revision: 1327027197
URL: https://bugs.php.net/patch-display.php?bug=60809&patch=bug60809.phpt&revision=1327027197
------------------------------------------------------------------------
[2012-01-20 02:32:52] laruence@php.net
ah, you are right, ingore my noise :)
------------------------------------------------------------------------
[2012-01-20 02:28:53] pierrick@php.net
I can do it like that yes. I'll just have to declare the variable inside the loop
to make sure the doc_comment is reinitialized and NULL if no doc_comment is
there.
------------------------------------------------------------------------
[2012-01-20 02:26:32] laruence@php.net
pierrick, I suggest doing like:
char *doccomment = NULL;
if () {
doccomment = estrndup();
}
thanks :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=60809
--
Edit this bug report at https://bugs.php.net/bug.php?id=60809&edit=1