Arbit - project tracking

PHPMD

#6: PHP Tokenizer required but no error when installing

Issue revisions

  • new by Joshua Ross at 2010-J-12 23:50
  • assigned by mapi at 2010-J-26 21:12
  • assigned by mapi at 2010-J-26 21:13
  • closed by mapi at 2010-F-28 12:59
Type bug bug
State closed closed
Priority low low
Resolution fixed fixed
Assigned to mapi
Scheduled for 0.2.3
Affected versions 0.2.0
Affected components
Last change Sunday 28 February 2010 12:59:08 UTC by mapi

Short description

When installing phpmd no dependency error is produced if php tokenizer is not installed. However trying to use phpmd produces a large number of errors.

Environment

php 5.2.10 rhel 4.6

Steps to reproduce

install phpmd without php tokenizer being installed run phpmd

Expected behavior

no errors

Actual behavior

errors like: PHP Notice: Use of undefined constant T_DOLLAR_OPEN_CURLY_BRACES - assumed 'T_DOLLAR_OPEN_CURLY_BRACES' in /foo/bar/PHP/Depend.php on line 608

  • mapi at Tuesday 26 January 2010 21:13:55 UTC

    Scheduled for release 0.2.3

  • mapi at Sunday 28 February 2010 12:59:08 UTC

    Tokenizer extension is now listed as mandatory extension for PHP_Depend.