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 - The expression parent::function() is not refactored
Summary: The expression parent::function() is not refactored
Status: RESOLVED DUPLICATE of bug 204167
Alias: None
Product: php
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 11:15 UTC by Petr Pisl
Modified: 2012-03-28 12:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***