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.
If PHP files have no "declare(strict_types=1)", suggest to add it.(Ristrict to PHP7 or newer.) e.g. before: <?php // Suggest that when the caret on this line after: <?php declare(strict_types=1); If PHP file have inline HTMLs, add <?php declare(strict_types=1) ?> on the first line. Thanks.
Done. http://hg.netbeans.org/web-main/rev/4667c89b7fb0 Thanks.
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/4667c89b7fb0 User: Junichi Yamamoto <junichi11@netbeans.org> Log: #270318 - New hint for declaring strict types