2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/dev/tools/phan/stubs/geoip.phan_php
MDW 8655d5a86b 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>
2024-02-21 18:14:29 +01:00

45 lines
1.5 KiB
Plaintext

<?php
// These stubs were generated by the phan stub generator.
// @phan-stub-for-extension geoip@1.1.1
namespace {
function geoip_asnum_by_name() {}
function geoip_continent_code_by_name() {}
function geoip_country_code3_by_name() {}
function geoip_country_code3_by_name_v6() {}
function geoip_country_code_by_name() {}
function geoip_country_code_by_name_v6() {}
function geoip_country_name_by_name() {}
function geoip_country_name_by_name_v6() {}
function geoip_database_info() {}
function geoip_db_avail() {}
function geoip_db_filename() {}
function geoip_db_get_all_info() {}
function geoip_domain_by_name() {}
function geoip_id_by_name() {}
function geoip_isp_by_name() {}
function geoip_netspeedcell_by_name() {}
function geoip_org_by_name() {}
function geoip_record_by_name() {}
function geoip_region_by_name() {}
function geoip_region_name_by_code() {}
function geoip_setup_custom_directory() {}
function geoip_time_zone_by_country_and_region() {}
const GEOIP_ASNUM_EDITION = 9;
const GEOIP_CABLEDSL_SPEED = 2;
const GEOIP_CITY_EDITION_REV0 = 6;
const GEOIP_CITY_EDITION_REV1 = 2;
const GEOIP_CORPORATE_SPEED = 3;
const GEOIP_COUNTRY_EDITION = 1;
const GEOIP_DIALUP_SPEED = 1;
const GEOIP_DOMAIN_EDITION = 11;
const GEOIP_ISP_EDITION = 4;
const GEOIP_NETSPEED_EDITION = 10;
const GEOIP_NETSPEED_EDITION_REV1 = 32;
const GEOIP_ORG_EDITION = 5;
const GEOIP_PROXY_EDITION = 8;
const GEOIP_REGION_EDITION_REV0 = 7;
const GEOIP_REGION_EDITION_REV1 = 3;
const GEOIP_UNKNOWN_SPEED = 0;
}