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

Favourites: address deprecated method calls in phpunit tests

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8
    • 3.7, 3.8
    • Favourites

      Some examples of deprecated methods, as detected by phpstorm:
      assertInternalType()
      assertAttributeEquals()

      Changelog for 7.5 which mentions the deprecation here (under 7.5.0 heading): [https://github.com/sebastianbergmann/phpunit/blob/7.5/ChangeLog-7.5.md

      Looks like these will be dropped for 9.0 (https://github.com/sebastianbergmann/phpunit/issues/3370)

            jaked Jake Dallimore
            jaked Jake Dallimore
            Jun Pataleta Jun Pataleta
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 5 minutes
                1h 5m

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