Arbit - project tracking

PHP Depend

#152: Endless loop bug for identical class and parent name

Issue revisions

  • new by Manuel Pichler(work) at 2010-J-09 10:02
  • new by Manuel Pichler(work) at 2010-J-09 10:03
  • assigned by Manuel Pichler at 2010-J-09 15:23
  • closed by Manuel Pichler at 2010-J-18 18:05
Type bug bug
State closed closed
Priority urgent urgent
Resolution fixed fixed
Assigned to Manuel Pichler
Scheduled for 0.9.15
Affected versions 0.9.14, 0.9.x, 0.9.x-svn
Affected components Code
Last change Friday 18 June 2010 18:05:22 UTC by Manuel Pichler

Short description

The current implementation of PHP_Depend runs into an endless loop, when the name of a class and it's parent are identical in code that utilizes namespaces from PHP 5.3:

<?php
namespace bar;

class Exception extends \Exception {}

  • Manuel Pichler(work) at Wednesday 9 June 2010 10:03:29 UTC

    Scheduled for release 0.9.15

  • Manuel Pichler at Friday 18 June 2010 18:05:22 UTC

    Fixed in svn revision #1296.