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 249140

Summary: Fast import in PHP messes up by d()
Product: php Reporter: fehrlich
Component: EditorAssignee: Tomas Mysik <tmysik>
Status: RESOLVED FIXED    
Severity: normal CC: justpusher
Priority: P3    
Version: 8.0.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description fehrlich 2014-12-05 10:37:22 UTC
Im using netbeans mainly for php so i dont know if this happens also on other platforms.

The Kint debugger uses a single char function called d($someVar), to debug variables.

Whenever I perform a quick import it replaces all function calls with DatePeriod($someVar), this is really annoying.

This happens always, even if there are no new imports to make.
The undo-action doesnt work either after it replaced everything, so you have to do it manually.
Comment 1 Tomas Mysik 2016-06-10 09:55:59 UTC
Reproducible, will try to look at it.

Thanks.

My code:

<?php

function d($var) {
}

$d = d($someVar);
Comment 2 Tomas Mysik 2016-06-20 06:40:37 UTC
*** Bug 249814 has been marked as a duplicate of this bug. ***
Comment 3 Tomas Mysik 2016-06-20 06:53:31 UTC
Should be fixed now, please verify.

Thanks.

http://hg.netbeans.org/web-main/rev/a146c2b6ac19