Skip to content
  • Cédric Anne's avatar
    Fix some PHP 8 issues (#8085) · f7cb91e1
    Cédric Anne authored
    * Fix 'Notice: spl_autoload_register(): Argument #2 () has been ignored, spl_autoload_register() will always throw'
    
    * Fix 'Fatal error: Declaration of Project::getKanbanColumns() must be compatible with Glpi\Features\Kanban::getKanbanColumns()'
    
    * Fix 'Uncaught Exception TypeError: abs(): Argument #1 () must be of type int|float, string given'
    
    * Handle missing index key on CommonDBTM::update()
    
    * Adapt error handler to PHP 8 changes
    
    * Fix Group_User::testIsUserInGroup() test (Group do not have a is_deleted field)
    
    * Fix Search::testMetaComputerUser() test
    
    * Update sabre/http to fix PHP 8 issue
    
    * Fix 'Uncaught Exception TypeError: Unsupported operand types: array & int in /var/www/glpi/inc/session.class.php at line 1001'
    
    * Fix 'Returning bool from comparison function is deprecated, return an integer'
    
    * Remove usage of error context in specific error handler
    f7cb91e1