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 270317 - New option for spaces: Around "=" in declare statements
Summary: New option for spaces: Around "=" in declare statements
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-07 00:56 UTC by junichi11
Modified: 2017-04-10 02:54 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description junichi11 2017-04-07 00:56:44 UTC
According to PSR-12[1], declare statements MUST contain no spaces. So the new option should be added.

[1] https://github.com/php-fig/fig-standards/blob/master/proposed/extended-coding-style-guide.md (3.Declare Statements, Namespace, and Import Statements)

Thanks.
Comment 1 junichi11 2017-04-09 03:27:22 UTC
Done.

http://hg.netbeans.org/web-main/rev/76dace5e6a45

Thanks.
Comment 2 Quality Engineering 2017-04-10 02:54:09 UTC
Integrated into 'main-silver', will be available in build *201704100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/76dace5e6a45
User: Junichi Yamamoto <junichi11@netbeans.org>
Log: #270317 - New option for spaces: Around "=" in declare statements