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

PHP 5.2 Unit Tests no longer work due to deprecated PHPUnit PEAR channel

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.12
    • 3.0.13-RC1
    • Test Suite
    • None

    Description

      The PHP 5.2 build requires a phpunit and related DbUnit version that is compatible with PHP 5.2. Only phpunit < 3.7.x is compatible with PHP 5.2.
      However, now that support for the pear installation method has ended we can no longer install phpunit using pear (https://github.com/sebastianbergmann/phpunit/wiki/End-of-Life-for-PEAR-Installation-Method).
      Using composer for this is not possible as that will also require PHP >= 5.3.3.
      This leaves us with the possibility of using a phar file for phpunit (https://phar.phpunit.de/).
      Since there are no 3.6.x builds of phpunit available though, we should remove the PHP 5.2 build from the build configuration.

      Attachments

        Activity

          People

            bantu Andreas Fischer
            Marc Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: