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

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • None
    • None
    • None

      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');
      }
      

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

              Created:
              Updated:
              Resolved: