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

PHP 8.3: Small deprecations check

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.3.1, 4.4
    • General

      https://stitcher.io/blog/new-in-php-83#the-small-deprecations-rfc-rfc

      1. Deprecate passing negative $widths to mb_strimwidth()
        1. I cannot see any use of mb_strimwidth in core
      2. Deprecate and remove the NumberFormatter::TYPE_CURRENCY constant
        1. I cannot see any use of TYPE_CURRENCY in core
      3. Deprecate and remove the broken pre-PHP 7.1 Mt19937 implementation (MT_RAND_PHP)
        1. I cannot see any use of MT_RAND_PHP in core
      4. Deprecate and remove calling ldap_connect() with 2 parameters $host and $port
        1. Used in ADODB
      5. Deprecate remains of string evaluated code assertions
        1. No use of assert_options
        2. No use of assert\. (ini set/fetch)
        3. I can't see any use of assert() being passed to anything else

      Required

      1. adodb
        1. Check upstream for fix
      2. assertions
        1. Confirm lack of assert_options and assert\.
        2. Confirm no call to assert() is passed to anything that would depend upon its return value
      3. All others:
        1. Confirm that they are not in use in core

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Raquel Ortega Raquel Ortega
            Votes:
            0 Vote for this issue
            Watchers:
            11 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
                1h

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