{"action":"created","issue":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/441","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/441/comments","events_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/441/events","html_url":"https://github.com/wenns/sonar-cxx/issues/441","id":64530183,"number":441,"title":"Indentation Check with Namespace","user":{"login":"LupusUmbrae","id":914585,"avatar_url":"https://avatars.githubusercontent.com/u/914585?v=3","gravatar_id":"","url":"https://api.github.com/users/LupusUmbrae","html_url":"https://github.com/LupusUmbrae","followers_url":"https://api.github.com/users/LupusUmbrae/followers","following_url":"https://api.github.com/users/LupusUmbrae/following{/other_user}","gists_url":"https://api.github.com/users/LupusUmbrae/gists{/gist_id}","starred_url":"https://api.github.com/users/LupusUmbrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LupusUmbrae/subscriptions","organizations_url":"https://api.github.com/users/LupusUmbrae/orgs","repos_url":"https://api.github.com/users/LupusUmbrae/repos","events_url":"https://api.github.com/users/LupusUmbrae/events{/privacy}","received_events_url":"https://api.github.com/users/LupusUmbrae/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wenns/sonar-cxx/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/wenns/sonar-cxx/milestones/4","html_url":"https://github.com/wenns/sonar-cxx/milestones/M%200.9.3","labels_url":"https://api.github.com/repos/wenns/sonar-cxx/milestones/4/labels","id":920882,"number":4,"title":"M 0.9.3","description":"Reaching this milestone should lead to the 0.9.3 release.\r\n\r\nProposed timeline for 0.9.3\r\n\r\n* open for extensions by 2015-04-19\r\n* after 2015-04-19 only testing and stabilization\r\n* release 2015-04-30","creator":{"login":"guwirth","id":6077367,"avatar_url":"https://avatars.githubusercontent.com/u/6077367?v=3","gravatar_id":"","url":"https://api.github.com/users/guwirth","html_url":"https://github.com/guwirth","followers_url":"https://api.github.com/users/guwirth/followers","following_url":"https://api.github.com/users/guwirth/following{/other_user}","gists_url":"https://api.github.com/users/guwirth/gists{/gist_id}","starred_url":"https://api.github.com/users/guwirth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guwirth/subscriptions","organizations_url":"https://api.github.com/users/guwirth/orgs","repos_url":"https://api.github.com/users/guwirth/repos","events_url":"https://api.github.com/users/guwirth/events{/privacy}","received_events_url":"https://api.github.com/users/guwirth/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":38,"state":"open","created_at":"2015-01-04T08:15:36Z","updated_at":"2015-04-10T16:46:23Z","due_on":"2015-04-29T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-26T13:48:16Z","updated_at":"2015-04-10T16:55:01Z","closed_at":null,"body":"I've noticed that the indentation check seems to give incorrect results when indenting after namespaces. I'm expected with indentNamespace = true that the check expects code inside a namespace block to be indented\r\n\r\nTake the follow code snippet:\r\n\r\n```\r\n  namespace pi {\r\n    using rapidxml::xml_node;\r\n```\r\n\r\nWith an indentation level of 4, and indentNamespace true i would expect that to pass, instead i get the error \"Make this line start at column 1.\"\r\n\r\nLater on when we indent again we get the same issue:\r\n\r\n```\r\n    PngDataSet::PngDataSet(...)\r\n    {\r\n        if (config.compare(\"\") != 0)\r\n```\r\n\r\nWith the above i get the error \"Make this line start at column 5.\"\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/wenns/sonar-cxx/issues/comments/91620662","html_url":"https://github.com/wenns/sonar-cxx/issues/441#issuecomment-91620662","issue_url":"https://api.github.com/repos/wenns/sonar-cxx/issues/441","id":91620662,"user":{"login":"guwirth","id":6077367,"avatar_url":"https://avatars.githubusercontent.com/u/6077367?v=3","gravatar_id":"","url":"https://api.github.com/users/guwirth","html_url":"https://github.com/guwirth","followers_url":"https://api.github.com/users/guwirth/followers","following_url":"https://api.github.com/users/guwirth/following{/other_user}","gists_url":"https://api.github.com/users/guwirth/gists{/gist_id}","starred_url":"https://api.github.com/users/guwirth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guwirth/subscriptions","organizations_url":"https://api.github.com/users/guwirth/orgs","repos_url":"https://api.github.com/users/guwirth/repos","events_url":"https://api.github.com/users/guwirth/events{/privacy}","received_events_url":"https://api.github.com/users/guwirth/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T16:55:01Z","updated_at":"2015-04-10T16:55:01Z","body":"@Typz code seems to be from you? Do you have time to fix it?"}}