Refactor code structure for improved readability and maintainability

This commit is contained in:
hamed
2026-07-13 10:15:49 +03:30
parent a4a17bf8c7
commit 960ac72f6e
27 changed files with 4270 additions and 1670 deletions
@@ -0,0 +1 @@
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_migrations_version20260713050114_php", "label": "Version20260713050114.php", "file_type": "code", "source_file": "migrations/Version20260713050114.php", "source_location": "L1"}, {"id": "migrations_version20260713050114_version20260713050114", "label": "Version20260713050114", "file_type": "code", "source_file": "migrations/Version20260713050114.php", "source_location": "L13"}, {"id": "abstractmigration", "label": "AbstractMigration", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "migrations_version20260713050114_version20260713050114_getdescription", "label": ".getDescription()", "file_type": "code", "source_file": "migrations/Version20260713050114.php", "source_location": "L15"}, {"id": "migrations_version20260713050114_version20260713050114_up", "label": ".up()", "file_type": "code", "source_file": "migrations/Version20260713050114.php", "source_location": "L20"}, {"id": "schema", "label": "Schema", "file_type": "code", "source_file": "migrations/Version20260713050114.php", "source_location": "L20"}, {"id": "migrations_version20260713050114_version20260713050114_down", "label": ".down()", "file_type": "code", "source_file": "migrations/Version20260713050114.php", "source_location": "L26"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_migrations_version20260713050114_php", "target": "schema", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_migrations_version20260713050114_php", "target": "abstractmigration", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_migrations_version20260713050114_php", "target": "migrations_version20260713050114_version20260713050114", "relation": "contains", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L13", "weight": 1.0}, {"source": "migrations_version20260713050114_version20260713050114", "target": "abstractmigration", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L13", "weight": 1.0}, {"source": "migrations_version20260713050114_version20260713050114", "target": "migrations_version20260713050114_version20260713050114_getdescription", "relation": "method", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L15", "weight": 1.0}, {"source": "migrations_version20260713050114_version20260713050114", "target": "migrations_version20260713050114_version20260713050114_up", "relation": "method", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L20", "weight": 1.0}, {"source": "migrations_version20260713050114_version20260713050114_up", "target": "schema", "relation": "references", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L20", "weight": 1.0, "context": "parameter_type"}, {"source": "migrations_version20260713050114_version20260713050114", "target": "migrations_version20260713050114_version20260713050114_down", "relation": "method", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L26", "weight": 1.0}, {"source": "migrations_version20260713050114_version20260713050114_down", "target": "schema", "relation": "references", "confidence": "EXTRACTED", "source_file": "migrations/Version20260713050114.php", "source_location": "L26", "weight": 1.0, "context": "parameter_type"}], "raw_calls": [{"caller_nid": "migrations_version20260713050114_version20260713050114_up", "callee": "addSql", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/migrations/Version20260713050114.php", "source_location": "L23", "receiver": null}, {"caller_nid": "migrations_version20260713050114_version20260713050114_down", "callee": "addSql", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/migrations/Version20260713050114.php", "source_location": "L29", "receiver": null}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long