{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2159","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2159/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2159/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2159/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2159","id":173497091,"number":2159,"title":"[RFC] Inline docblock fixer","user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels/feature%20request","name":"feature request","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-08-26T16:54:13Z","updated_at":"2016-08-30T12:22:33Z","closed_at":null,"body":"This RFC is for inline docblocks, since there are different ways to write them:\r\n```\r\n/** @var $someVar \\SomeClass */\r\n```\r\n```\r\n/* @var \\SomeClass $someVar */\r\n```"},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/243421315","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2159#issuecomment-243421315","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2159","id":243421315,"user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T12:22:33Z","updated_at":"2016-08-30T12:22:33Z","body":"As a side note, I always use the inline variant for variables that can be inferred by my IDE, like DI services by instance, so, it can be (in my very own use case) considered more a type declaration/hint than a real docblock. Personally, I didn't found other useful use for inline docblocks.\r\nIs there some documentation tool that parses them out of the scope of classy elements (inside a method by instance)? I think the \"safe\" concern introduced by @rob006 maybe points to that possibility ([comment](https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2159#issuecomment-243153390))."}}
{"actor":{"display_login":"phansys"}}