Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75776

Bump behat and phpunit (composer) dependencies to current ones

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Hide
      1. Verify that both Travis and GHA badges are all passing (green).
      2. Verify that the ToBiC runs in the issue are all passing (green).
      3. Put this into CI hands (there shouldn't be failures, as per ToBiC point above).
      Show
      Verify that both Travis and GHA badges are all passing (green). Verify that the ToBiC runs in the issue are all passing (green). Put this into CI hands (there shouldn't be failures, as per ToBiC point above).

      In order to better support PHP 8.1 (MDL-73016) and other bug fixes, this issue is about to update all the composer dependencies to current ones. This is also part of the release process (-8 weeks to release).

      • For master (4.1dev): The main point here in this issue is the update of the mink extension, switching from our fork to the upstream one (explanations below).
      • For all branches: Apart from the point above, all the other updates are really minor and shouldn't have any impact.

      Explanations about the mink extension and master follow (from the commit message):

      We were using our fork of the mink extension:

      https://github.com/moodlehq/MinkExtension.git

      Because they bumped requirements to PHP 7.4 too early for us. Now,
      with Moodle 4.1, finally our requirements are also PHP 7.4, so we
      can stop using the fork and switch to the upstream one:

      https://github.com/FriendsOfBehat/MinkExtension

      Note this only can be done in 4.1dev, because this is the first
      version using PHP >= 7.4. Older branches will need to continue
      using the fork. Also, note that we may need to go back to the
      fork if there is any future trouble with the upstream library
      not matching our supported PHP versions.

      Apart from that, it's a good moment to bump other components to
      current ones.

      Of course, this has been generated following the instructions:

      https://docs.moodle.org/dev/Composer

      And using PHP 7.4 (always the min version supported) to generate
      the lock file.

      All the .lock files will be generated following the steps in the docs.

      Ciao

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Simey Lameze Simey Lameze
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 9 minutes
                4h 9m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.