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

Composer deprecation warnings

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Pre-requisite: Ensure that you are using composer 1.8.1 or newer. That can be done by executing php composer.phar --version. It should show a modern enough version. For example:

      Composer version 1.9-dev (d788c67547708248e843d2feabeb16b20b35a618) 2019-02-11 09:52:53

      Note: This is easier to do with MDK.

      1. Run the following command: mdk phpunit
      2. Confirm that you don't see the deprecation warnings mentioned in this issue's description.
      Show
      Pre-requisite: Ensure that you are using composer 1.8.1 or newer. That can be done by executing php composer.phar --version . It should show a modern enough version. For example: Composer version 1.9-dev (d788c67547708248e843d2feabeb16b20b35a618) 2019-02-11 09:52:53 Note: This is easier to do with MDK. Run the following command: mdk phpunit Confirm that you don't see the deprecation warnings mentioned in this issue's description.
    • Affected Branches:
      MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull 3.5 Branch:
    • Pull 3.6 Branch:
    • Pull Master Branch:
      MDL-64725-master

      Description

      I'm seeing the following deprecation warnings when initialising PHPUnit or Behat:

      Deprecation warning: require-dev.phpunit/dbUnit is invalid, it should not contain uppercase characters. Please use phpunit/dbunit instead. Make sure you fix this as Composer 2.0 will error.
      Deprecation warning: require-dev.mikey179/vfsStream is invalid, it should not contain uppercase characters. Please use mikey179/vfsstream instead. Make sure you fix this as Composer 2.0 will error.
       

        Attachments

          Activity

            People

            • Assignee:
              jpataleta Jun Pataleta
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              Michael Aherne
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Anna Carissa Sadia
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Mar/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 15 minutes
                2h 15m