()
| 16 | private const ALL_TYPES = ['local', 's3', 'sftp', 'ftp', 'webdav', 'smb', 'gdrive', 'onedrive', 'dropbox']; |
| 17 | |
| 18 | private static function proSourcesAvailable(): bool |
| 19 | { |
| 20 | if (!defined('FR_PRO_ACTIVE') || !FR_PRO_ACTIVE || !class_exists('ProSources')) { |
| 21 | return false; |
| 22 | } |
| 23 | if (!defined('FR_PRO_API_REQUIRE_SOURCES') || !function_exists('fr_pro_api_level_at_least')) { |
| 24 | return true; |
| 25 | } |
| 26 | return fr_pro_api_level_at_least((int)FR_PRO_API_REQUIRE_SOURCES); |
| 27 | } |
| 28 | |
| 29 | public static function isProExtendedAvailable(): bool |
| 30 | { |
no test coverage detected