Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13124

PHP event extractor too strict on doc blocks

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-RC4
    • Fix Version/s: 3.1.0-RC6
    • Component/s: Events
    • Labels:
      None

      Description

      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'

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: