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

Composer deprecation warnings

    XMLWordPrintable

Details

    • MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-64725-master
    • 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.

    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

            jpataleta Jun Pataleta
            jpataleta Jun Pataleta
            Michael Aherne Michael Aherne
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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

                Clockify

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