Files
clinicpro/graphify-out/cache/ast/v0.8.44/48db5c733cc7e02a8a226fc4ed552cd5282c91d400dc72b32f3f122c127033bf.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
6.7 KiB
JSON

{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_shared_dbloggertest_php", "label": "DbLoggerTest.php", "file_type": "code", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L1"}, {"id": "shared_dbloggertest_dbloggertest", "label": "DbLoggerTest", "file_type": "code", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L13"}, {"id": "kerneltestcase", "label": "KernelTestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "label": ".testWarningPersistedButInfoIsNot()", "file_type": "code", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L15"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_shared_dbloggertest_php", "target": "connection", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_shared_dbloggertest_php", "target": "loggerinterface", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_shared_dbloggertest_php", "target": "kerneltestcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_shared_dbloggertest_php", "target": "shared_dbloggertest_dbloggertest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L13", "weight": 1.0}, {"source": "shared_dbloggertest_dbloggertest", "target": "kerneltestcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L13", "weight": 1.0}, {"source": "shared_dbloggertest_dbloggertest", "target": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Shared/DbLoggerTest.php", "source_location": "L15", "weight": 1.0}], "raw_calls": [{"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L17", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "static", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L18", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "get", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L20", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "get", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L22", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "bin2hex", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L24", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "random_bytes", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L24", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "info", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L26", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "warning", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L27", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "fetchOne", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L29", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "fetchOne", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L30", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L32", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L33", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "fetchAssociative", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L36", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L37", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L38", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L39", "receiver": null}, {"caller_nid": "shared_dbloggertest_dbloggertest_testwarningpersistedbutinfoisnot", "callee": "executeStatement", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Shared/DbLoggerTest.php", "source_location": "L41", "receiver": null}]}