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 196765

Summary: The expression parent::function() is not refactored
Product: php Reporter: Petr Pisl <ppisl>
Component: RefactoringAssignee: Petr Pisl <ppisl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Petr Pisl 2011-03-16 11:15:21 UTC
Have a test case code:

<?php

namespace NetBeans\towns;

class Town {

	public function getName() {
		
	}

}

namespace NetBeans\Czech;

use NetBeans\towns;

class Prague extends towns\Town {
	
	public function getName() {
		parent::getName();
	}
}

?>

and try to rename getName() method in Town class. The method in parent::getName() is not renamed.
Comment 1 Petr Pisl 2011-09-29 14:16:37 UTC
Still not implemented in NB 7.1.
Comment 2 Ondrej Brejla 2012-03-28 12:25:30 UTC
Beware of this duplicate (it has namespaces, so don't forget on them ;)

*** This bug has been marked as a duplicate of bug 204167 ***