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

Do not check phpunit version when PHPUnit_Runner_Version::id() returns "@package_version@"

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      When checking out a development version of phpunit, PHPUnit_Runner_Version::id() returns "@package_version@", which can be a problem with the following code section.

      require_once 'PHPUnit/Runner/Version.php';
      if (version_compare(PHPUnit_Runner_Version::id(), '3.3.0', '<'))
      {
      	trigger_error('PHPUnit >= 3.3.0 required');
      }
      

      Attachments

        Issue Links

          Activity

            People

              bantu Andreas Fischer [X] (Inactive)
              bantu Andreas Fischer [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: