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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.12
    • Fix Version/s: 3.0.13-RC1
    • Component/s: Test Suite
    • Labels:
      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

            • Assignee:
              bantu bantu
              Reporter:
              Marc Marc
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: