mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-09-25 04:01:55 +02:00
gen-constants-stub.php had no Makefile/CI target, so tools/phpstan/ constants.stub.php (a bootstrapFile in phpstan.dist.neon) silently drifted: regenerating it added DB_ACCESS_PWD and GIT_REPO_PROXY (real runtime define()s in src/Core/Config/AppConfig.php that PHPStan could not see). Added `make phpstan-stub` so the stub is regenerable/discoverable, and refreshed it (129 -> 131 constants).
145 lines
10 KiB
PHP
145 lines
10 KiB
PHP
<?php
|
|
|
|
/**
|
|
* PHPStan constants stub for XC_VM (auto-generated by gen-constants-stub.php).
|
|
*
|
|
* The application defines these constants at RUNTIME inside methods, where
|
|
* PHPStan cannot see them via static scanning. Values are a cast of an unset
|
|
* env var so PHPStan gets the correct GENERAL type without narrowing to a
|
|
* literal (which would cause false always-true/false comparison reports).
|
|
*
|
|
* @package XC_VM
|
|
*/
|
|
|
|
if (!defined('ARCHIVE_PATH')) define('ARCHIVE_PATH', (string) mt_rand());
|
|
if (!defined('BIN_PATH')) define('BIN_PATH', (string) mt_rand());
|
|
if (!defined('BUFFER_SIZE')) define('BUFFER_SIZE', mt_rand());
|
|
if (!defined('CACHE_TMP_PATH')) define('CACHE_TMP_PATH', (string) mt_rand());
|
|
if (!defined('CIDR_TMP_PATH')) define('CIDR_TMP_PATH', (string) mt_rand());
|
|
if (!defined('CLIENT_BANNED')) define('CLIENT_BANNED', mt_rand());
|
|
if (!defined('CLIENT_DISABLED')) define('CLIENT_DISABLED', mt_rand());
|
|
if (!defined('CLIENT_DISALLOWED')) define('CLIENT_DISALLOWED', mt_rand());
|
|
if (!defined('CLIENT_EXPIRED')) define('CLIENT_EXPIRED', mt_rand());
|
|
if (!defined('CLIENT_INVALID')) define('CLIENT_INVALID', mt_rand());
|
|
if (!defined('CLIENT_IS_E2')) define('CLIENT_IS_E2', mt_rand());
|
|
if (!defined('CLIENT_IS_MAG')) define('CLIENT_IS_MAG', mt_rand());
|
|
if (!defined('CLIENT_IS_STALKER')) define('CLIENT_IS_STALKER', mt_rand());
|
|
if (!defined('CLOSE_EMPTY')) define('CLOSE_EMPTY', mt_rand());
|
|
if (!defined('CONFIG_PATH')) define('CONFIG_PATH', (string) mt_rand());
|
|
if (!defined('CONS_TMP_PATH')) define('CONS_TMP_PATH', (string) mt_rand());
|
|
if (!defined('CONTENT_PATH')) define('CONTENT_PATH', (string) mt_rand());
|
|
if (!defined('CREATED_PATH')) define('CREATED_PATH', (string) mt_rand());
|
|
if (!defined('CRONS_TMP_PATH')) define('CRONS_TMP_PATH', (string) mt_rand());
|
|
if (!defined('DB_ACCESS_ENABLED')) define('DB_ACCESS_ENABLED', (bool) mt_rand());
|
|
if (!defined('DB_ACCESS_PWD')) define('DB_ACCESS_PWD', (string) mt_rand());
|
|
if (!defined('DELAY_PATH')) define('DELAY_PATH', (string) mt_rand());
|
|
if (!defined('DEV_MODE')) define('DEV_MODE', (bool) mt_rand());
|
|
if (!defined('DIVERGENCE_TMP_PATH')) define('DIVERGENCE_TMP_PATH', (string) mt_rand());
|
|
if (!defined('E2_IMAGES_PATH')) define('E2_IMAGES_PATH', (string) mt_rand());
|
|
if (!defined('EPG_PATH')) define('EPG_PATH', (string) mt_rand());
|
|
if (!defined('FFMPEG')) define('FFMPEG', (string) mt_rand());
|
|
if (!defined('FFMPEG_BIN_40')) define('FFMPEG_BIN_40', (string) mt_rand());
|
|
if (!defined('FFMPEG_BIN_71')) define('FFMPEG_BIN_71', (string) mt_rand());
|
|
if (!defined('FFMPEG_BIN_80')) define('FFMPEG_BIN_80', (string) mt_rand());
|
|
if (!defined('FFMPEG_FONT')) define('FFMPEG_FONT', (string) mt_rand());
|
|
if (!defined('FFPROBE')) define('FFPROBE', (string) mt_rand());
|
|
if (!defined('FFPROBE_BIN_40')) define('FFPROBE_BIN_40', (string) mt_rand());
|
|
if (!defined('FFPROBE_BIN_71')) define('FFPROBE_BIN_71', (string) mt_rand());
|
|
if (!defined('FFPROBE_BIN_80')) define('FFPROBE_BIN_80', (string) mt_rand());
|
|
if (!defined('FLOOD_TMP_PATH')) define('FLOOD_TMP_PATH', (string) mt_rand());
|
|
if (!defined('GEOISP_BIN')) define('GEOISP_BIN', (string) mt_rand());
|
|
if (!defined('GEOLITE2C_BIN')) define('GEOLITE2C_BIN', (string) mt_rand());
|
|
if (!defined('GEOLITE2_BIN')) define('GEOLITE2_BIN', (string) mt_rand());
|
|
if (!defined('GIT_OWNER')) define('GIT_OWNER', (string) mt_rand());
|
|
if (!defined('GIT_REPO_BIN')) define('GIT_REPO_BIN', (string) mt_rand());
|
|
if (!defined('GIT_REPO_MAIN')) define('GIT_REPO_MAIN', (string) mt_rand());
|
|
if (!defined('GIT_REPO_PROXY')) define('GIT_REPO_PROXY', (string) mt_rand());
|
|
if (!defined('GIT_REPO_UPDATE')) define('GIT_REPO_UPDATE', (string) mt_rand());
|
|
if (!defined('HOST')) define('HOST', (string) mt_rand());
|
|
if (!defined('IMAGES_PATH')) define('IMAGES_PATH', (string) mt_rand());
|
|
if (!defined('KEYFRAME_HEADER')) define('KEYFRAME_HEADER', (string) mt_rand());
|
|
if (!defined('LINES_TMP_PATH')) define('LINES_TMP_PATH', (string) mt_rand());
|
|
if (!defined('LOGS_TMP_PATH')) define('LOGS_TMP_PATH', (string) mt_rand());
|
|
if (!defined('MAIN_HOME')) define('MAIN_HOME', (string) mt_rand());
|
|
if (!defined('MAX_PREBUFFER')) define('MAX_PREBUFFER', mt_rand());
|
|
if (!defined('MAX_SEG_BYTES')) define('MAX_SEG_BYTES', mt_rand());
|
|
if (!defined('MINISTRA_TMP_PATH')) define('MINISTRA_TMP_PATH', (string) mt_rand());
|
|
if (!defined('MIN_SEG_PTS')) define('MIN_SEG_PTS', mt_rand());
|
|
if (!defined('MONITOR_CALLS')) define('MONITOR_CALLS', mt_rand());
|
|
if (!defined('OPENSSL_EXTRA')) define('OPENSSL_EXTRA', (string) mt_rand());
|
|
if (!defined('PACKET_SIZE')) define('PACKET_SIZE', mt_rand());
|
|
if (!defined('PAGE_NAME')) define('PAGE_NAME', (string) mt_rand());
|
|
if (!defined('PAT_HEADER')) define('PAT_HEADER', (string) mt_rand());
|
|
if (!defined('PAT_PERIOD')) define('PAT_PERIOD', mt_rand());
|
|
if (!defined('PHP_BIN')) define('PHP_BIN', (string) mt_rand());
|
|
if (!defined('PHP_ERRORS')) define('PHP_ERRORS', (bool) mt_rand());
|
|
if (!defined('PLAYER_BOOTSTRAP_DONE')) define('PLAYER_BOOTSTRAP_DONE', (bool) mt_rand());
|
|
if (!defined('PLAYER_TMP_PATH')) define('PLAYER_TMP_PATH', (string) mt_rand());
|
|
if (!defined('PLAYLIST_PATH')) define('PLAYLIST_PATH', (string) mt_rand());
|
|
if (!defined('SEGMENT_DURATION')) define('SEGMENT_DURATION', mt_rand());
|
|
if (!defined('SERIES_TMP_PATH')) define('SERIES_TMP_PATH', (string) mt_rand());
|
|
if (!defined('SERVER_ID')) define('SERVER_ID', (string) mt_rand());
|
|
if (!defined('SIGNALS_PATH')) define('SIGNALS_PATH', (string) mt_rand());
|
|
if (!defined('SIGNALS_TMP_PATH')) define('SIGNALS_TMP_PATH', (string) mt_rand());
|
|
if (!defined('STATUS_CERTBOT')) define('STATUS_CERTBOT', mt_rand());
|
|
if (!defined('STATUS_CERTBOT_INVALID')) define('STATUS_CERTBOT_INVALID', mt_rand());
|
|
if (!defined('STATUS_CERTBOT_RUNNING')) define('STATUS_CERTBOT_RUNNING', mt_rand());
|
|
if (!defined('STATUS_CODE_LENGTH')) define('STATUS_CODE_LENGTH', mt_rand());
|
|
if (!defined('STATUS_DISABLED')) define('STATUS_DISABLED', mt_rand());
|
|
if (!defined('STATUS_EXISTS_CODE')) define('STATUS_EXISTS_CODE', mt_rand());
|
|
if (!defined('STATUS_EXISTS_DIR')) define('STATUS_EXISTS_DIR', mt_rand());
|
|
if (!defined('STATUS_EXISTS_HMAC')) define('STATUS_EXISTS_HMAC', mt_rand());
|
|
if (!defined('STATUS_EXISTS_IP')) define('STATUS_EXISTS_IP', mt_rand());
|
|
if (!defined('STATUS_EXISTS_MAC')) define('STATUS_EXISTS_MAC', mt_rand());
|
|
if (!defined('STATUS_EXISTS_NAME')) define('STATUS_EXISTS_NAME', mt_rand());
|
|
if (!defined('STATUS_EXISTS_SOURCE')) define('STATUS_EXISTS_SOURCE', mt_rand());
|
|
if (!defined('STATUS_EXISTS_USERNAME')) define('STATUS_EXISTS_USERNAME', mt_rand());
|
|
if (!defined('STATUS_FAILURE')) define('STATUS_FAILURE', mt_rand());
|
|
if (!defined('STATUS_FLUSH')) define('STATUS_FLUSH', mt_rand());
|
|
if (!defined('STATUS_INSUFFICIENT_CREDITS')) define('STATUS_INSUFFICIENT_CREDITS', mt_rand());
|
|
if (!defined('STATUS_INVALID_CAPTCHA')) define('STATUS_INVALID_CAPTCHA', mt_rand());
|
|
if (!defined('STATUS_INVALID_CODE')) define('STATUS_INVALID_CODE', mt_rand());
|
|
if (!defined('STATUS_INVALID_DATA')) define('STATUS_INVALID_DATA', mt_rand());
|
|
if (!defined('STATUS_INVALID_DATE')) define('STATUS_INVALID_DATE', mt_rand());
|
|
if (!defined('STATUS_INVALID_DIR')) define('STATUS_INVALID_DIR', mt_rand());
|
|
if (!defined('STATUS_INVALID_EMAIL')) define('STATUS_INVALID_EMAIL', mt_rand());
|
|
if (!defined('STATUS_INVALID_FILE')) define('STATUS_INVALID_FILE', mt_rand());
|
|
if (!defined('STATUS_INVALID_GROUP')) define('STATUS_INVALID_GROUP', mt_rand());
|
|
if (!defined('STATUS_INVALID_INPUT')) define('STATUS_INVALID_INPUT', mt_rand());
|
|
if (!defined('STATUS_INVALID_IP')) define('STATUS_INVALID_IP', mt_rand());
|
|
if (!defined('STATUS_INVALID_MAC')) define('STATUS_INVALID_MAC', mt_rand());
|
|
if (!defined('STATUS_INVALID_NAME')) define('STATUS_INVALID_NAME', mt_rand());
|
|
if (!defined('STATUS_INVALID_PACKAGE')) define('STATUS_INVALID_PACKAGE', mt_rand());
|
|
if (!defined('STATUS_INVALID_PASSWORD')) define('STATUS_INVALID_PASSWORD', mt_rand());
|
|
if (!defined('STATUS_INVALID_PLAYLIST')) define('STATUS_INVALID_PLAYLIST', mt_rand());
|
|
if (!defined('STATUS_INVALID_SUBRESELLER')) define('STATUS_INVALID_SUBRESELLER', mt_rand());
|
|
if (!defined('STATUS_INVALID_TYPE')) define('STATUS_INVALID_TYPE', mt_rand());
|
|
if (!defined('STATUS_INVALID_USER')) define('STATUS_INVALID_USER', mt_rand());
|
|
if (!defined('STATUS_INVALID_USERNAME')) define('STATUS_INVALID_USERNAME', mt_rand());
|
|
if (!defined('STATUS_NOT_ADMIN')) define('STATUS_NOT_ADMIN', mt_rand());
|
|
if (!defined('STATUS_NOT_RESELLER')) define('STATUS_NOT_RESELLER', mt_rand());
|
|
if (!defined('STATUS_NO_DESCRIPTION')) define('STATUS_NO_DESCRIPTION', mt_rand());
|
|
if (!defined('STATUS_NO_KEY')) define('STATUS_NO_KEY', mt_rand());
|
|
if (!defined('STATUS_NO_SOURCE')) define('STATUS_NO_SOURCE', mt_rand());
|
|
if (!defined('STATUS_NO_SOURCES')) define('STATUS_NO_SOURCES', mt_rand());
|
|
if (!defined('STATUS_NO_TITLE')) define('STATUS_NO_TITLE', mt_rand());
|
|
if (!defined('STATUS_NO_TRIALS')) define('STATUS_NO_TRIALS', mt_rand());
|
|
if (!defined('STATUS_RESERVED_CODE')) define('STATUS_RESERVED_CODE', mt_rand());
|
|
if (!defined('STATUS_SPACE_ISSUE')) define('STATUS_SPACE_ISSUE', mt_rand());
|
|
if (!defined('STATUS_SUCCESS')) define('STATUS_SUCCESS', mt_rand());
|
|
if (!defined('STATUS_SUCCESS_MULTI')) define('STATUS_SUCCESS_MULTI', mt_rand());
|
|
if (!defined('STATUS_SUCCESS_REPLACE')) define('STATUS_SUCCESS_REPLACE', mt_rand());
|
|
if (!defined('STATUS_TOO_MANY_RESULTS')) define('STATUS_TOO_MANY_RESULTS', mt_rand());
|
|
if (!defined('STORAGE_PATH')) define('STORAGE_PATH', (string) mt_rand());
|
|
if (!defined('STORE_PREBUFFER')) define('STORE_PREBUFFER', mt_rand());
|
|
if (!defined('STREAMS_PATH')) define('STREAMS_PATH', (string) mt_rand());
|
|
if (!defined('STREAMS_TMP_PATH')) define('STREAMS_TMP_PATH', (string) mt_rand());
|
|
if (!defined('TIMEOUT')) define('TIMEOUT', mt_rand());
|
|
if (!defined('TIMEOUT_READ')) define('TIMEOUT_READ', mt_rand());
|
|
if (!defined('TMP_PATH')) define('TMP_PATH', (string) mt_rand());
|
|
if (!defined('VIDEO_PATH')) define('VIDEO_PATH', (string) mt_rand());
|
|
if (!defined('VOD_PATH')) define('VOD_PATH', (string) mt_rand());
|
|
if (!defined('WATCH_TMP_PATH')) define('WATCH_TMP_PATH', (string) mt_rand());
|
|
if (!defined('XC_VM_VERSION')) define('XC_VM_VERSION', (string) mt_rand());
|
|
if (!defined('YOUTUBE_BIN')) define('YOUTUBE_BIN', (string) mt_rand());
|