GLPI 10.0 compatibility

* Permit installation on GLPI 10.0.x
* Remove dead code referencing removed method
* Fix showForm() signature
* Use same PHP minimal version as GLPI core; upgrade build libs
* Remove deprecated usage of integer display width
* Use default GLPI charset/collation during install/update
* Force database dynamic row format
* Fix files mode
* Update compatibility in XML
* Use default sign on primary/foreign keys
This commit is contained in:
Cédric Anne
2022-04-21 10:47:05 +02:00
parent 0c9f9be88c
commit a804e2b5cc
8 changed files with 34 additions and 31 deletions

4
setup.php Executable file → Normal file
View File

@ -33,9 +33,9 @@ use Glpi\Plugin\Hooks;
define('PLUGIN_EXAMPLE_VERSION', '0.0.1');
// Minimal GLPI version, inclusive
define('PLUGIN_EXAMPLE_MIN_GLPI', '9.5.0');
define('PLUGIN_EXAMPLE_MIN_GLPI', '10.0.0');
// Maximum GLPI version, exclusive
define('PLUGIN_EXAMPLE_MAX_GLPI', '9.5.99');
define('PLUGIN_EXAMPLE_MAX_GLPI', '10.0.99');
/**
* Init hooks of the plugin.