Skip to content
  • Cédric Anne's avatar
    PHP 7.4 compatibility (#6783) · d8d4ed34
    Cédric Anne authored
    
    
    * Fix Iterator mock in Migration::addConfig() test
    
    * Fix error handling in unit tests
    
    * Fix parsing of classes on Search::testSearchOptions()
    
    ==> Error E_NOTICE in /var/glpi/tests/functionnal/Search.php on line 558, generated by file /var/glpi/tests/functionnal/Search.php on line 95:
    file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory
    
    * Fix notice trigerred when ticket has no followup
    
    ==> Error E_NOTICE in /var/glpi/tests/functionnal/NotificationTargetTicket.php on line 115, generated by file /var/glpi/inc/notificationtargetticket.class.php on line 462:
    Trying to access array offset on value of type bool
    
    * ldap_control_paged* are deprecated in PHP 7.4 (#6570)
    
    * Run test suite on PHP 7.4
    
    * Update dependencies that fixed issues with PHP 7.4
    
    * Update blueimp-file-upload PHP handler
    
    * Fix travis configuration
    
    * Fix 'Trying to access array offset on value of type bool' on LDAP sync
    
    Co-authored-by: default avatarJohan Cwiklinski <trasher@x-tnd.be>
    d8d4ed34