#73: Inconsistent state when an interface and a class with the same name exists.
Issue revisions
- new by Manuel Pichler at 2009-M-21 9:43
- new by Manuel Pichler at 2009-M-21 9:44
- assigned by Manuel Pichler at 2009-M-21 9:44
- assigned by Manuel Pichler at 2009-M-21 9:49
- closed by Manuel Pichler at 2009-M-21 16:00
- closed by Manuel Pichler at 2009-M-21 16:01
| Type | |
|---|---|
| State | |
| Priority | |
| Resolution | |
| Assigned to | Manuel Pichler |
| Scheduled for | 0.9.5 |
| Affected versions | 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.x-svn |
| Affected components | Parser, Code |
| Last change | Saturday 21 March 2009 16:01:32 UTC by Manuel Pichler |
Short description
The following code results in an inconsistent state of PHP_Depend's object model.
<?php
abstract class Foo {}
class Bar extends Foo {}
/**
* @package baz
*/
interface Foo {}
?>
It will result in the following fatal error, when we pass the --bad-documentation option to PHP_Depend:
Fatal error: Call to a member function getName() on a non-object in /home/mapi/pdepend-git/PHP/Depend/Code/Filter/InternalPackage.php on line 82
and without the --bad-documentation option:
Fatal error: Call to a member function getUUID() on a non-object in /home/mapi/pdepend-git/PHP/Depend/Metrics/CodeRank/InheritanceStrategy.php on line 159
Manuel Pichler at Saturday 21 March 2009 09:44:32 UTC
Schedule version set.
Manuel Pichler at Saturday 21 March 2009 09:49:38 UTC
Description adjusted.
Manuel Pichler at Saturday 21 March 2009 16:00:25 UTC
This bug was fixed in svn revision #777.
Manuel Pichler at Saturday 21 March 2009 16:01:32 UTC
Issue resolution changed from none to fixed.