-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to set relationships through the api #1181
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1181 +/- ##
==========================================
+ Coverage 41% 42.5% +1.5%
Complexity 11 11
==========================================
Files 203 204 +1
Lines 5275 5360 +85
==========================================
+ Hits 2162 2276 +114
+ Misses 3113 3084 -29
Continue to review full report at Codecov.
|
…ica into 2018-04-15-relationship-api
…ica into 2018-04-15-relationship-api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param Request $request | ||
* @return mixed | ||
*/ | ||
private function validateUpdateParameters(Request $request, $relationshipId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Smell: Reduce the number of returns of this function 4, down to the maximum allowed 3. (php:S1142)
* @param Request $request | ||
* @return mixed | ||
*/ | ||
private function validateParameters(Request $request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Smell: Reduce the number of returns of this function 5, down to the maximum allowed 3. (php:S1142)
This pull request has been automatically locked since there |
Code-related tasks
If the code changes the SQL schema
vCard
and.csv
files.Other tasks
UNRELEASED
.[wip]
in the title of the PR it is is not final yet. Remove[wip]
when ready. Otherwise the PR will be considered complete and rejected if it's not working.