#!/usr/bin/env php === PHP 7.3 Controller Audit === Scanning 2528 active files... === RESULTS === --- Category A: ArgumentCountError --- Note: Static analysis for cross-function argument mismatches requires runtime error log monitoring. Phase 0.4 documented 41 fixes applied. Monitor /var/log/httpd/aeihawaii_error_log for new ArgumentCountError. --- Category B: Unsafe Query Chains --- FOUND: 4473 unsafe chained query calls in 73 files ac_inventory_report.php: 1 calls acdetailreport.php: 35 calls acjobs.php: 1 calls acproposal.php: 374 calls acreport.php: 1 calls acschedule.php: 3 calls actabpartpdf.php: 16 calls actracmor.php: 3 calls admin.php: 841 calls advancesearch.php: 1 calls ajax.php: 206 calls all_jobs_new.php: 4 calls alljobdetailspage.php: 1 calls company.php: 1 calls cost_tab.php: 1 calls cron_june9.php: 15 calls cronroof.php: 2 calls customers_ac.php: 28 calls customers_ev.php: 1 calls customers_pv.php: 6 calls customers_saf.php: 1 calls customers_swh.php: 3 calls derreport.php: 1 calls esign.php: 9 calls exportacjobs.php: 4 calls exportjobcustomer.php: 7 calls exportpv.php: 4 calls exportpvjobs.php: 146 calls exportswhjobs.php: 4 calls gcschedule.php: 1 calls hvacinventory.php: 3 calls inventory.php: 55 calls job_schedule_ajax.php: 1 calls jobdetailsreport.php: 3 calls leadmarketing_report.php: 1 calls masterlist.php: 3 calls matrix_inventory.php: 1 calls phototab.php: 1 calls premacjobscheduleajax.php: 3 calls proposal.php: 1506 calls proposal_march31.php: 16 calls proposalapril12012-1.php: 19 calls proposalpdf.php: 2 calls pvcustom.php: 1 calls pvjobs.php: 211 calls roofesign.php: 2 calls roofproposal.php: 5 calls roofschedule.php: 1 calls servicejob.php: 1 calls servicejobs.php: 1 calls serviceplanschedule.php: 7 calls seschedule.php: 1 calls swhinventory.php: 3 calls swhjobs.php: 1 calls swhproposal.php: 311 calls tdpbschedule.php: 1 calls thumblist.php: 1 calls tracmor.php: 3 calls tracmorservice.php: 4 calls msaterservice.php: 5 calls ticket.php: 159 calls profitcommission.php: 16 calls profitmargin.php: 3 calls login.php: 16 calls salesindex.php: 1 calls attainmentreport.php: 42 calls lead.php: 8 calls pvcommercialproposal.php: 180 calls homecharging.php: 92 calls all_jobs.php: 1 calls acpdf.php: 8 calls dayview.php: 52 calls msaterservice_14oct2014.php: 1 calls --- Category C: mysql_* Function Calls --- PASS: No mysql_* calls found. --- Category D: Hardcoded Production Paths --- FOUND: 391 hardcoded paths in 43 files acesign.php: 9 occurrences cron.php: 5 occurrences cronac.php: 4 occurrences cronev.php: 5 occurrences crongc.php: 5 occurrences cronroof.php: 5 occurrences cronsaf.php: 5 occurrences cronswh.php: 4 occurrences customers_ac.php: 4 occurrences customers_ev.php: 4 occurrences customers_gc.php: 3 occurrences customers_pv.php: 8 occurrences customers_saf.php: 4 occurrences customers_swh.php: 4 occurrences drwproposal.php: 3 occurrences empattendance.php: 22 occurrences esign.php: 16 occurrences evesign.php: 8 occurrences filetab.php: 1 occurrences gcesign.php: 8 occurrences genproposal.php: 4 occurrences homecharging.php: 8 occurrences loginapi.php: 4 occurrences phototab.php: 10 occurrences preupload.php: 5 occurrences proposal_march31.php: 2 occurrences proposalapril12012-1.php: 4 occurrences pvcommercialproposal.php: 15 occurrences roofesign.php: 9 occurrences roofproposal.php: 4 occurrences safesign.php: 9 occurrences safproposal.php: 4 occurrences seproposal.php: 3 occurrences serviceplanschedule.php: 25 occurrences swhesign.php: 9 occurrences swhproposal.php: 12 occurrences tdpb.php: 3 occurrences ticket.php: 8 occurrences photos_index.php: 2 occurrences proposal.php: 60 occurrences admin.php: 54 occurrences acproposal.php: 8 occurrences acpdf.php: 2 occurrences --- Category E: Removed/Deprecated Functions --- PASS: No removed/deprecated function calls found. === SUMMARY === Files scanned: 2528 Unsafe query chains: 4473 mysql_* calls: 0 Hardcoded paths: 391 Removed functions: 0 Total issues: 4864 Audit complete.