mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
QUAL Use phan to help detect new issues (#27706)
* Qual: Add phan flow - Add phan configuration (config, baseline, stubs); - Add github action; - Update apstats.php. * Add directives to ignore false phan notices * Qual: Add typing hints for extrafields TPL files # Qual: Add typing hints for extrafields TPL files Add typing hints for phan on view files --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -2091,6 +2091,7 @@ class Setup extends DolibarrApi
|
||||
if (LIBXML_VERSION < 20900) {
|
||||
// Avoid load of external entities (security problem).
|
||||
// Required only if LIBXML_VERSION < 20900
|
||||
// @phan-suppress-next-line PhanDeprecatedFunctionInternal
|
||||
libxml_disable_entity_loader(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user