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.
Summary: | Formatting PHP - Ability to delete braces for IF and loop statements | ||
---|---|---|---|
Product: | php | Reporter: | Zicguy |
Component: | Formatting & Indentation | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Zicguy
2014-10-17 08:46:11 UTC
When it indicates there is a problem with the code and there is not, and you cannot trust the syntax checking, it is not a convenience issue, it is a bug. The PROPER way to do a single statement IF in PHP is WITHOUT the braces. |