Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13124

PHP event extractor too strict on doc blocks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-RC6
    • 3.1.0-RC4
    • Events
    • None

      Since we are allowing a single space before the * on doc blocks,
      the php event extractor should be able to find events in such situations aswell.

      Currently it fails with:

      phpbb_event_export_php_test::test_crawl_php_file with data set #18 ('includes/mcp/mcp_ban.php')
      LogicException: Can not find @var lines for event 'core.mcp_ban_main' in file 'includes/mcp/mcp_ban.php:55'

            Marc Marc
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: