2
0
forked from Wavyzz/dolibarr

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:
MDW
2024-02-21 18:14:29 +01:00
committed by GitHub
parent 5460b97e8b
commit 8655d5a86b
96 changed files with 29903 additions and 2 deletions

View File

@@ -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);
}