Skip to content

Commit

Permalink
OCLint code cleanup & rule relaxation
Browse files Browse the repository at this point in the history
  • Loading branch information
audaciouscode committed Jun 19, 2017
1 parent 301b82f commit 32aac5b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -22,4 +22,5 @@ script:
-disable-rule=PreferEarlyExit
-disable-rule=LongMethod
-disable-rule=LongVariableName

-disable-rule=HighCyclomaticComplexity
-disable-rule=HighNPathComplexity
2 changes: 1 addition & 1 deletion PassiveDataKit/PDKEventsGenerator.m
Expand Up @@ -82,7 +82,7 @@ - (void) logEvent:(NSString *) eventName properties:(NSDictionary *) properties

event[@"event_name"] = eventName;
event[@"event_details"] = properties;
event[@"observed"] = [NSNumber numberWithDouble:(1000 * recorded.timeIntervalSince1970)];
event[@"observed"] = @(1000 * recorded.timeIntervalSince1970);

NSUserDefaults * defaults = [NSUserDefaults standardUserDefaults];

Expand Down

0 comments on commit 32aac5b

Please sign in to comment.