Files
clinicpro/graphify-out/cache/ast/v0.8.44/d2a46876b0e6e0cc5cf9a88c3ea9067de7a0f64df5bc59099c215c14a123a305.json
T
hamed 803196108c feat(logging): Implement database logging with app_log table
- Created migration to set up app_log table for storing application logs.
- Added AppLog entity and repository for ORM handling of logs.
- Developed DbLogger service to persist logs of level WARNING and above to the database while maintaining existing logging behavior.
- Implemented tests for admin log retrieval and DbLogger functionality to ensure proper logging behavior.
- Enhanced logging context sanitization for better error tracking.
2026-06-29 20:01:03 +03:30

1 line
8.1 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "label": "ApiIrService.php", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L1"}, {"id": "service_apiirservice_apiirservice", "label": "ApiIrService", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L22"}, {"id": "service_apiirservice_apiirservice_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L24"}, {"id": "service_apiirservice_apiirservice_isconfigured", "label": ".isConfigured()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L31"}, {"id": "service_apiirservice_apiirservice_shahkarmatch", "label": ".shahkarMatch()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L39"}, {"id": "service_apiirservice_apiirservice_ibanmatch", "label": ".ibanMatch()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L58"}, {"id": "service_apiirservice_apiirservice_post", "label": ".post()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L77"}, {"id": "service_apiirservice_apiirservice_extractmatched", "label": ".extractMatched()", "file_type": "code", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L113"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "errorcodes", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "appexception", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "loggerinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "httpclientinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_shared_service_apiirservice_php", "target": "service_apiirservice_apiirservice", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L22", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L24", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_isconfigured", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L31", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_shahkarmatch", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L39", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_ibanmatch", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L58", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_post", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L77", "weight": 1.0}, {"source": "service_apiirservice_apiirservice", "target": "service_apiirservice_apiirservice_extractmatched", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L113", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_shahkarmatch", "target": "service_apiirservice_apiirservice_post", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L42", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_shahkarmatch", "target": "service_apiirservice_apiirservice_extractmatched", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L47", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_ibanmatch", "target": "service_apiirservice_apiirservice_post", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L60", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_ibanmatch", "target": "service_apiirservice_apiirservice_extractmatched", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L67", "weight": 1.0}, {"source": "service_apiirservice_apiirservice_post", "target": "service_apiirservice_apiirservice_isconfigured", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/Shared/Service/ApiIrService.php", "source_location": "L79", "weight": 1.0}], "raw_calls": [{"caller_nid": "service_apiirservice_apiirservice_post", "callee": "request", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L84", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "rtrim", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L84", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "getStatusCode", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L90", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "toArray", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L95", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "error", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L99", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "sprintf", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L99", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "getMessage", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L99", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "getFile", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L99", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_post", "callee": "getLine", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L99", "receiver": null}, {"caller_nid": "service_apiirservice_apiirservice_extractmatched", "callee": "filter_var", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/src/Shared/Service/ApiIrService.php", "source_location": "L119", "receiver": null}]}