1 line
38 KiB
JSON
1 line
38 KiB
JSON
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "label": "RepresentationEditPolicyTest.php", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L1"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest", "label": "RepresentationEditPolicyTest", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L19"}, {"id": "testcase", "label": "TestCase", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "label": ".repWithId()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L22"}, {"id": "user", "label": "User", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L22"}, {"id": "representation", "label": "Representation", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L22"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "label": ".policyReturning()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L33"}, {"id": "representationeditpolicy", "label": "RepresentationEditPolicy", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L33"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "label": ".doctorOwnedBy()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L41"}, {"id": "doctor", "label": "Doctor", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L41"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_clinicownedby", "label": ".clinicOwnedBy()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L49"}, {"id": "clinic", "label": "Clinic", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L49"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "label": ".testRepresentationOwningTheDoctorIsAllowed()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L59"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "label": ".testAnotherRepresentationIsRejected()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L69"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "label": ".testDoctorWithoutRepresentationIsNeverOwned()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L79"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "label": ".testUserWithoutTheRoleIsRejectedWithoutHittingTheRepository()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L89"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "label": ".testRoleWithoutRepresentationRowIsRejectedNotFatal()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L102"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "label": ".testClinicOwnershipFollowsTheSameRule()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L112"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddenclinicfieldisnamed", "label": ".testForbiddenClinicFieldIsNamed()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L125"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testallowedclinicpayloadpasses", "label": ".testAllowedClinicPayloadPasses()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L135"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "label": ".testForbiddenDoctorFieldsAreNamed()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L147"}, {"id": "representation_representationeditpolicytest_representationeditpolicytest_testemptypayloadhasnoforbiddenfield", "label": ".testEmptyPayloadHasNoForbiddenField()", "file_type": "code", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L161"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "user", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "clinic", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "doctor", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L7", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "representation", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L8", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "representationrepository", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L9", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "representationeditpolicy", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L10", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "testcase", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L11", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_tests_representation_representationeditpolicytest_php", "target": "representation_representationeditpolicytest_representationeditpolicytest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L19", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "testcase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L19", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L22", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "target": "user", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L22", "weight": 1.0, "context": "parameter_type"}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "target": "representation", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L22", "weight": 1.0, "context": "return_type"}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L33", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "target": "representation", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L33", "weight": 1.0, "context": "parameter_type"}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "target": "representationeditpolicy", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L33", "weight": 1.0, "context": "return_type"}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L41", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "target": "doctor", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L41", "weight": 1.0, "context": "return_type"}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_clinicownedby", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L49", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_clinicownedby", "target": "clinic", "relation": "references", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L49", "weight": 1.0, "context": "return_type"}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L59", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L69", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L79", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L89", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L102", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L112", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddenclinicfieldisnamed", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L125", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testallowedclinicpayloadpasses", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L135", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L147", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest", "target": "representation_representationeditpolicytest_representationeditpolicytest_testemptypayloadhasnoforbiddenfield", "relation": "method", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L161", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "target": "representation", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L26", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L64", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "target": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L64", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "target": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L66", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L74", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "target": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L74", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "target": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L76", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L84", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "target": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L84", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "target": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L86", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "target": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L99", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L107", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "target": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L109", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L117", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "target": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L117", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "target": "representation_representationeditpolicytest_representationeditpolicytest_clinicownedby", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L119", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddenclinicfieldisnamed", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L127", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddenclinicfieldisnamed", "target": "representationeditpolicy", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L131", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testallowedclinicpayloadpasses", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L137", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testallowedclinicpayloadpasses", "target": "representationeditpolicy", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L142", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L149", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "target": "representationeditpolicy", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L153", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testemptypayloadhasnoforbiddenfield", "target": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L163", "weight": 1.0}, {"source": "representation_representationeditpolicytest_representationeditpolicytest_testemptypayloadhasnoforbiddenfield", "target": "representationeditpolicy", "relation": "references_constant", "confidence": "EXTRACTED", "confidence_score": 1.0, "source_file": "tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L165", "weight": 1.0}], "raw_calls": [{"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "callee": "setAccessible", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L27", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_repwithid", "callee": "setValue", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L28", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "callee": "createStub", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L35", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "callee": "willReturn", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L36", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_policyreturning", "callee": "method", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L36", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_doctorownedby", "callee": "setRepresentationId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L44", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_clinicownedby", "callee": "setRepresentationId", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L52", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L62", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L66", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testrepresentationowningthedoctorisallowed", "callee": "ownsDoctor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L66", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L72", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L76", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testanotherrepresentationisrejected", "callee": "ownsDoctor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L76", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L82", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L86", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testdoctorwithoutrepresentationisneverowned", "callee": "ownsDoctor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L86", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L92", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "createMock", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L94", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "method", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L95", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "expects", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L95", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L95", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L99", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testuserwithouttheroleisrejectedwithouthittingtherepository", "callee": "ownsDoctor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L99", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L105", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L109", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testrolewithoutrepresentationrowisrejectednotfatal", "callee": "ownsDoctor", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L109", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "callee": "setRoles", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L115", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L119", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "callee": "ownsClinic", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L119", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L120", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testclinicownershipfollowsthesamerule", "callee": "ownsClinic", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L120", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddenclinicfieldisnamed", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L129", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddenclinicfieldisnamed", "callee": "firstForbiddenField", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L131", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testallowedclinicpayloadpasses", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L139", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testallowedclinicpayloadpasses", "callee": "firstForbiddenField", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L140", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L151", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "callee": "firstForbiddenField", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L153", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L155", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testforbiddendoctorfieldsarenamed", "callee": "firstForbiddenField", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L157", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testemptypayloadhasnoforbiddenfield", "callee": "self", "is_member_call": false, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L165", "receiver": null}, {"caller_nid": "representation_representationeditpolicytest_representationeditpolicytest_testemptypayloadhasnoforbiddenfield", "callee": "firstForbiddenField", "is_member_call": true, "source_file": "/Users/hamed/pj/my_pj/clinic_pro/clinicpro/tests/Representation/RepresentationEditPolicyTest.php", "source_location": "L165", "receiver": null}]} |