{"action":"created","issue":{"url":"https://api.github.com/repos/cellml/libcellml/issues/75","repository_url":"https://api.github.com/repos/cellml/libcellml","labels_url":"https://api.github.com/repos/cellml/libcellml/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/cellml/libcellml/issues/75/comments","events_url":"https://api.github.com/repos/cellml/libcellml/issues/75/events","html_url":"https://github.com/cellml/libcellml/issues/75","id":147931180,"number":75,"title":"Code formatting tidy-up","user":{"login":"dladd","id":811296,"avatar_url":"https://avatars.githubusercontent.com/u/811296?v=3","gravatar_id":"","url":"https://api.github.com/users/dladd","html_url":"https://github.com/dladd","followers_url":"https://api.github.com/users/dladd/followers","following_url":"https://api.github.com/users/dladd/following{/other_user}","gists_url":"https://api.github.com/users/dladd/gists{/gist_id}","starred_url":"https://api.github.com/users/dladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dladd/subscriptions","organizations_url":"https://api.github.com/users/dladd/orgs","repos_url":"https://api.github.com/users/dladd/repos","events_url":"https://api.github.com/users/dladd/events{/privacy}","received_events_url":"https://api.github.com/users/dladd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-13T02:47:24Z","updated_at":"2016-04-13T23:04:57Z","closed_at":null,"body":"To standardise practices in the codebase, a formatting tidy-up has been proposed after pulls #71 and #68 come through.\r\n\r\nI'll add to and edit the list of changes to be implemented in this opening comment based on agreed upon features in the discussion below.\r\n\r\n\r\n### Practices to standardise\r\n\r\n- [ ] Increment should be done in pre-form (`++i` rather than `i++`) when the methods are otherwise equivalent.\r\n- [ ] Conditional and loop statements should have a space before opening parentheses. E.g., `for (` rather than `for(`.\r\n- [ ] Doxygen comments should be in sentence-style: beginning with capitalisation and ending with punctuation.\r\n- [ ] Test names should be explicit to help identify which specific features they cover.\r\n- [ ] Spaces should be used for indentation- not tabs."},"comment":{"url":"https://api.github.com/repos/cellml/libcellml/issues/comments/209684790","html_url":"https://github.com/cellml/libcellml/issues/75#issuecomment-209684790","issue_url":"https://api.github.com/repos/cellml/libcellml/issues/75","id":209684790,"user":{"login":"dladd","id":811296,"avatar_url":"https://avatars.githubusercontent.com/u/811296?v=3","gravatar_id":"","url":"https://api.github.com/users/dladd","html_url":"https://github.com/dladd","followers_url":"https://api.github.com/users/dladd/followers","following_url":"https://api.github.com/users/dladd/following{/other_user}","gists_url":"https://api.github.com/users/dladd/gists{/gist_id}","starred_url":"https://api.github.com/users/dladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dladd/subscriptions","organizations_url":"https://api.github.com/users/dladd/orgs","repos_url":"https://api.github.com/users/dladd/repos","events_url":"https://api.github.com/users/dladd/events{/privacy}","received_events_url":"https://api.github.com/users/dladd/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T23:04:57Z","updated_at":"2016-04-13T23:04:57Z","body":"I've changed the Doxygen comment item from \"full sentences\" to \"sentence-style: beginning with capitalisation and ending with punctuation\" as I think that better describes what we're after. For example\r\n```cpp\r\nclass Component; /**< Forward declaration of Component class. */\r\n```\r\nnicely and succinctly comments the line but isn't necessarily a complete sentence.\r\n"}}