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

Implicit conversion to ints/arrays shows notice in PHP 8.1

XMLWordPrintable

      Implicit conversion to int shows notice in PHP 8.1
      Examples:

      Implicit conversion from float 1.8446 to int loses precision
      

      See also attached screenshots from https://3v4l.org/ with typical problems fixed in this issue

        1. Screenshot from 2022-11-17 16-14-03.png
          46 kB
          Marina Glancy
        2. Screenshot from 2022-11-17 16-14-41.png
          49 kB
          Marina Glancy
        3. Screenshot from 2022-11-17 16-15-21.png
          50 kB
          Marina Glancy
        4. Screenshot from 2022-11-17 16-20-01.png
          87 kB
          Marina Glancy
        5. three_warnings_crazy.png
          57 kB
          Eloy Lafuente (stronk7)

            marina Marina Glancy
            marina Marina Glancy
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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