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

Update composer.json with the new moodlehq/behat-extension (with php73 requirement)

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • Hide

      Requirements

      terminal access and PHP 7.3 cli

      In the master branch only:

      Test 0

      1. Skip this step, nothing to do, dear tester, integrators will deal with this. Verify that both phpunit and behat runs are installing and passing ok for master.

      Test 1

      • better use composer >= 2, to avoid some time format differences
      • use PHP 7.3.x

      MOODLE_311_STABLE branch

      1. Open a terminal and navigate to your moodle root directory.
      2. Run php composer.phar update
      3. Open composer.lock on a text editor.
      4. You SHOULD find
        "name": "moodlehq/behat-extension",
        "version": "v3.311.2",
        with "url": "https://github.com/moodlehq/moodle-behat-extension.git",
      5. Back on your terminal, delete the "vendor" folder and "composer.lock". Also remove composer caches.

        rm -rf vendor
        rm composer.lock
        php composer.phar clearcache
        

      6. Run again php composer.phar update
      7. Open composer.lock on a text editor
      8. You SHOULD find
        "name": "moodlehq/behat-extension",
        "version": "v3.311.2",
        with "url": "https://github.com/moodlehq/moodle-behat-extension.git",

      master branch

      1. Repeat the steps performed for the MOODLE_311_STABLE branch
      2. Only difference is that, now, the version must be: "v3.400.2"

      Note: the local run of composer update may lead to some other small differences (git diff composer.lock) if some dependency packages were updated the last hours @ packagist. They can be ignored, unless there is something really big detected.

      Show
      Requirements terminal access and PHP 7.3 cli In the master branch only: Test 0 Skip this step, nothing to do, dear tester , integrators will deal with this. Verify that both phpunit and behat runs are installing and passing ok for master. Test 1 better use composer >= 2, to avoid some time format differences use PHP 7.3.x MOODLE_311_STABLE branch Open a terminal and navigate to your moodle root directory. Run php composer.phar update Open composer.lock on a text editor. You SHOULD find "name": "moodlehq/behat-extension", "version": "v3.311.2", with "url": "https://github.com/moodlehq/moodle-behat-extension.git", Back on your terminal, delete the " vendor " folder and " composer.lock ". Also remove composer caches. rm -rf vendor rm composer.lock php composer.phar clearcache Run again php composer.phar update Open composer.lock on a text editor You SHOULD find "name": "moodlehq/behat-extension", "version": "v3.311.2", with "url": "https://github.com/moodlehq/moodle-behat-extension.git", master branch Repeat the steps performed for the MOODLE_311_STABLE branch Only difference is that, now, the version must be: "v3.400.2" Note: the local run of composer update may lead to some other small differences ( git diff composer.lock ) if some dependency packages were updated the last hours @ packagist. They can be ignored, unless there is something really big detected.

    Description

      In MDL-69308 (Moodle 3.11 requirements) the PHP requirements have been raised to PHP 7.3.

      This affects to both the MOODLE_311_STABLE and master development branches (we are under parallel development period).

      A new tagged release of the moodle-behat-extension has been already created:

      So this is about to:

      • Make core to point to those new moodle-behat-extension tags.
      • Rebuild the composer.lock file, using PHP 7.3 (instructions).
      • Verify that everything continues working ok.

      Attachments

        Issue Links

          Activity

            People

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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