['leapYear', 'daysPerMonth', 'addDaysComplete', 'addMonths'], 'include/caglobal.inc.php' => ['getNextOrderDate', 'isPublicHoliday', 'checkDiscountStr'], 'include/services_func.inc.php' => ['getServicePrices', 'getCr_price_global', 'get_cr_price_rate'], 'include/mcglobal.inc.php' => ['formatOutput'], 'include/global.inc.php' => ['eregPhoneNo', 'removeItemStringList', 'mcCheckCondition'], ]; $manifest = LegacyFunctions::load($root, $selection); $reportDir = getenv('VOTIAN_TEST_REPORT_DIR'); if ($reportDir) { $report = ['php' => PHP_VERSION, 'timezone' => date_default_timezone_get(), 'sourceRoot' => realpath($root), 'files' => $manifest]; if (file_put_contents($reportDir . '/source-manifest.json', json_encode($report, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR) . "\n") === false) { throw new RuntimeException('Could not write source manifest'); } }