- Created a new AST JSON file for SmsServiceLookupOnlyTest.php, detailing nodes, edges, and raw calls for better code analysis. - Added a new migration (Version20260707202553) to alter the sms_logs table by adding a nullable template_code column.
1 line
9.9 KiB
JSON
1 line
9.9 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "label": "SmsService.php", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L1"}, {"id": "service_smsservice_smsservice", "label": "SmsService", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L16"}, {"id": "service_smsservice_smsservice_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L20"}, {"id": "service_smsservice_smsservice_dispatchtemplate", "label": ".dispatchTemplate()", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L41"}, {"id": "service_smsservice_smsservice_dispatchasync", "label": ".dispatchAsync()", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L70"}, {"id": "service_smsservice_smsservice_sendnow", "label": ".sendNow()", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L84"}, {"id": "sendsmsmessage", "label": "SendSmsMessage", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L84"}, {"id": "service_smsservice_smsservice_resolveprovider", "label": ".resolveProvider()", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L106"}, {"id": "smsproviderinterface", "label": "SmsProviderInterface", "file_type": "code", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L106"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "smslog", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "smsmessagetemplate", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "sendsmsmessage", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "kavehnegarprovider", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "ranginehprovider", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "smsproviderinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "smslogrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L11", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "smsmessagetemplaterepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L12", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "loggerinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L13", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "messagebusinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L14", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_sms_service_smsservice_php", "target": "service_smsservice_smsservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L16", "weight": 1.0}, {"source": "service_smsservice_smsservice", "target": "service_smsservice_smsservice_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L20", "weight": 1.0}, {"source": "service_smsservice_smsservice", "target": "service_smsservice_smsservice_dispatchtemplate", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L41", "weight": 1.0}, {"source": "service_smsservice_smsservice", "target": "service_smsservice_smsservice_dispatchasync", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L70", "weight": 1.0}, {"source": "service_smsservice_smsservice", "target": "service_smsservice_smsservice_sendnow", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L84", "weight": 1.0}, {"source": "service_smsservice_smsservice_sendnow", "target": "sendsmsmessage", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L84", "weight": 1.0, "context": "parameter_type"}, {"source": "service_smsservice_smsservice", "target": "service_smsservice_smsservice_resolveprovider", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L106", "weight": 1.0}, {"source": "service_smsservice_smsservice_resolveprovider", "target": "smsproviderinterface", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L106", "weight": 1.0, "context": "return_type"}, {"source": "service_smsservice_smsservice_dispatchtemplate", "target": "service_smsservice_smsservice_dispatchasync", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L67", "weight": 1.0}, {"source": "service_smsservice_smsservice_sendnow", "target": "service_smsservice_smsservice_resolveprovider", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Sms/Service/SmsService.php", "source_location": "L86", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_smsservice_smsservice_dispatchtemplate", "callee": "findByTag", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L43", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_dispatchtemplate", "callee": "resolve", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L49", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_dispatchtemplate", "callee": "error", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L53", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_dispatchtemplate", "callee": "sprintf", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L53", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_dispatchtemplate", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L56", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_dispatchtemplate", "callee": "array_key_exists", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L62", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_dispatchasync", "callee": "dispatch", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L79", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_sendnow", "callee": "error", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L90", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_sendnow", "callee": "sendTemplate", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L95", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_sendnow", "callee": "getName", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L98", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_sendnow", "callee": "setTemplateUuid", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L99", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_sendnow", "callee": "setTemplateCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L100", "receiver": null}, {"caller_nid": "service_smsservice_smsservice_sendnow", "callee": "save", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Sms/Service/SmsService.php", "source_location": "L101", "receiver": null}]} |