[Bug 272938] php81-pear-htmlpurifier-4.9.2_1

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Aug 2023 15:08:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272938

            Bug ID: 272938
           Summary: php81-pear-htmlpurifier-4.9.2_1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: joel@tahoestores.com

Generates a PHP fatal error: autoload() is no longer supported, use
spl_autoload_register()

Code:

    function __autoload($class)
    {
        return HTMLPurifier_Bootstrap::autoload($class);
    }

Suggested fix:

    function spl_autoload_register($class)
    {
        return HTMLPurifier_Bootstrap::autoload($class);
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.