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

Deprecated: str_replace(): in lib Box/Spout

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-78262-401
    • Hide

      Note: This should be tested with PHP 7.4, and 8.1.

      Testing instruction:

      1. Download testspout.phpand put it in the root folder of Moodle.
      2. Download testspout.csvand put it in the root folder of Moodle.
      3. Run it in the CLI:

        php testspout.php 

      4. Verify that it will print the data.
      5. For PHP 8.1: Verify that there was no deprecation warning about the use of the str_replace().
      Show
      Note : This should be tested with PHP 7.4, and 8.1. Testing instruction: Download testspout.php and put it in the root folder of Moodle. Download testspout.csv and put it in the root folder of Moodle. Run it in the CLI: php testspout.php Verify that it will print the data. For PHP 8.1 : Verify that there was no deprecation warning about the use of the str_replace() .
    • 1
    • Team Hedgehog 2023 Sprint 2.1

      When we update PHP version to 8.1 there are many warnings at lib Box/SpoutĀ 

        1. (I) 7.4 Passed -- (401)MDL-78262.png
          (I) 7.4 Passed -- (401)MDL-78262.png
          94 kB
        2. (I) 8.1 Passed -- (401)MDL-78262.png
          (I) 8.1 Passed -- (401)MDL-78262.png
          90 kB
        3. (I) Passed -- (401)MDL-78262.png
          (I) Passed -- (401)MDL-78262.png
          80 kB
        4. myfirstquestion_responses.csv
          0.3 kB
        5. testspout.csv
          0.3 kB
        6. testspout.php
          0.5 kB

            danghieu1407 Hieu Nguyen Dang
            danghieu1407 Hieu Nguyen Dang
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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