This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 171254

Summary: PHP Class Formatting
Product: php Reporter: anicka1354 <anicka1354>
Component: Formatting & IndentationAssignee: Tomasz Slota <tslota>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows Vista   
Issue Type: DEFECT Exception Reporter:

Description anicka1354 2009-09-01 13:09:51 UTC
Some parts of the PHP auto format tool isn't working right in NetBeans 6.7. Formatter always incorrect format first
class field or first class method comments.

Bad:
class PHPClass {

/**
 * My Field Description
 * @var string
 */
    private $myField;
    
}
Good:
class PHPClass {

   /**
    * My Field Description
    * @var string
    */
    private $myField;
    
}
Comment 1 Tomasz Slota 2009-09-01 13:30:58 UTC

*** This issue has been marked as a duplicate of 162320 ***