{"action":"created","issue":{"url":"https://api.github.com/repos/braintree/braintree_php/issues/133","repository_url":"https://api.github.com/repos/braintree/braintree_php","labels_url":"https://api.github.com/repos/braintree/braintree_php/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/braintree/braintree_php/issues/133/comments","events_url":"https://api.github.com/repos/braintree/braintree_php/issues/133/events","html_url":"https://github.com/braintree/braintree_php/pull/133","id":149153442,"number":133,"title":"Add leading slash to the namespace","user":{"login":"bocharsky-bw","id":3317635,"avatar_url":"https://avatars.githubusercontent.com/u/3317635?v=3","gravatar_id":"","url":"https://api.github.com/users/bocharsky-bw","html_url":"https://github.com/bocharsky-bw","followers_url":"https://api.github.com/users/bocharsky-bw/followers","following_url":"https://api.github.com/users/bocharsky-bw/following{/other_user}","gists_url":"https://api.github.com/users/bocharsky-bw/gists{/gist_id}","starred_url":"https://api.github.com/users/bocharsky-bw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bocharsky-bw/subscriptions","organizations_url":"https://api.github.com/users/bocharsky-bw/orgs","repos_url":"https://api.github.com/users/bocharsky-bw/repos","events_url":"https://api.github.com/users/bocharsky-bw/events{/privacy}","received_events_url":"https://api.github.com/users/bocharsky-bw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T13:40:36Z","updated_at":"2016-05-24T10:02:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/braintree/braintree_php/pulls/133","html_url":"https://github.com/braintree/braintree_php/pull/133","diff_url":"https://github.com/braintree/braintree_php/pull/133.diff","patch_url":"https://github.com/braintree/braintree_php/pull/133.patch"},"body":"The IDEs (for example, PhpStorm) incorrectly resolve namespaces without leading slash.\r\n\r\nPossible solution could be to use namespace first and then use only class name instead of FQCN:\r\n\r\n```php\r\nuse Braintree\\Error\\ErrorCollection;\r\n\r\n/**\r\n * ...\r\n * @property-read ErrorCollection $errors\r\n * ...\r\n */\r\nclass Error extends Base\r\n```"},"comment":{"url":"https://api.github.com/repos/braintree/braintree_php/issues/comments/221223209","html_url":"https://github.com/braintree/braintree_php/pull/133#issuecomment-221223209","issue_url":"https://api.github.com/repos/braintree/braintree_php/issues/133","id":221223209,"user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars.githubusercontent.com/u/39854?v=3","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T10:02:05Z","updated_at":"2016-05-24T10:02:05Z","body":":+1: Those should always have leading slashes in doc blocks."}}
{"actor":{"display_login":"dereuromark"}}