Arbit - project tracking

PHP Depend

#65: Endless loop for class and interface declarations without body.

Issue revisions

  • new by Manuel Pichler at 2009-M-04 12:39
  • assigned by Manuel Pichler at 2009-M-04 20:58
  • closed by Manuel Pichler at 2009-M-04 20:58
Type bug bug
State closed closed
Priority blocker blocker
Resolution fixed fixed
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
Affected components Parser
Last change Wednesday 4 March 2009 20:58:56 UTC by Manuel Pichler

Short description

The parser ends in an endless loop when it parses a class or interface declaration without a body.

// Foo.php
<?php
class Foo
?>


Steps to reproduce

Execute:

$ pdepend --summary.xml=/dev/null Foo.php

  • Manuel Pichler at Wednesday 4 March 2009 20:58:56 UTC

    Fixed in svn revision #672