{"action":"created","issue":{"url":"https://api.github.com/repos/nvlad/yii2support/issues/232","repository_url":"https://api.github.com/repos/nvlad/yii2support","labels_url":"https://api.github.com/repos/nvlad/yii2support/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/nvlad/yii2support/issues/232/comments","events_url":"https://api.github.com/repos/nvlad/yii2support/issues/232/events","html_url":"https://github.com/nvlad/yii2support/issues/232","id":477346657,"node_id":"MDU6SXNzdWU0NzczNDY2NTc=","number":232,"title":"Unused Element on Classes and Methods","user":{"login":"yepes","id":1114453,"node_id":"MDQ6VXNlcjExMTQ0NTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1114453?v=4","gravatar_id":"","url":"https://api.github.com/users/yepes","html_url":"https://github.com/yepes","followers_url":"https://api.github.com/users/yepes/followers","following_url":"https://api.github.com/users/yepes/following{/other_user}","gists_url":"https://api.github.com/users/yepes/gists{/gist_id}","starred_url":"https://api.github.com/users/yepes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yepes/subscriptions","organizations_url":"https://api.github.com/users/yepes/orgs","repos_url":"https://api.github.com/users/yepes/repos","events_url":"https://api.github.com/users/yepes/events{/privacy}","received_events_url":"https://api.github.com/users/yepes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-06T12:18:20Z","updated_at":"2019-08-08T23:34:33Z","closed_at":null,"author_association":"NONE","body":"Hey guys, \r\n\r\nWith the new version of PHP Storm I'm getting tons of \"Unused Element\" for the Controller Class declaration and for the methods inside those classes. It's a bit annoying. I don't know if that's something that could be avoided using this plugin or not. I mean, I don't wanna turn completely off the inspection in the IDE\r\n\r\nThis is from a freshly created basic app template:\r\n\r\n![Screen Shot 2019-08-06 at 14 09 00](https://user-images.githubusercontent.com/1114453/62539127-c72eaf80-b854-11e9-8ba6-ad2614bb03ac.png)\r\n\r\n![Screen Shot 2019-08-06 at 14 16 47](https://user-images.githubusercontent.com/1114453/62539160-db72ac80-b854-11e9-92f9-e53d9f010875.png)\r\n\r\n\r\n### What steps will reproduce the problem?\r\nInstall the latests PHP Storm version\r\n\r\n\r\n### What is the expected result?\r\nDo not throw the Unused Element.\r\n\r\n### What do you get instead?\r\nUnused Element\r\n\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | --------\r\n| IDE Name         | PhpStorm\r\n| IDE Version      | 2019.2\r\n| Plugin version   | 0.10.57.23\r\n| Yii App Template | basic\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nvlad/yii2support/issues/comments/519724127","html_url":"https://github.com/nvlad/yii2support/issues/232#issuecomment-519724127","issue_url":"https://api.github.com/repos/nvlad/yii2support/issues/232","id":519724127,"node_id":"MDEyOklzc3VlQ29tbWVudDUxOTcyNDEyNw==","user":{"login":"martinplattnr","id":1025800,"node_id":"MDQ6VXNlcjEwMjU4MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1025800?v=4","gravatar_id":"","url":"https://api.github.com/users/martinplattnr","html_url":"https://github.com/martinplattnr","followers_url":"https://api.github.com/users/martinplattnr/followers","following_url":"https://api.github.com/users/martinplattnr/following{/other_user}","gists_url":"https://api.github.com/users/martinplattnr/gists{/gist_id}","starred_url":"https://api.github.com/users/martinplattnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinplattnr/subscriptions","organizations_url":"https://api.github.com/users/martinplattnr/orgs","repos_url":"https://api.github.com/users/martinplattnr/repos","events_url":"https://api.github.com/users/martinplattnr/events{/privacy}","received_events_url":"https://api.github.com/users/martinplattnr/received_events","type":"User","site_admin":false},"created_at":"2019-08-08T23:34:33Z","updated_at":"2019-08-08T23:34:33Z","author_association":"NONE","body":"I have the same problem.\r\nIt (mostly?) affects action methods in controllers - they are obviously never called directly from within the code, but only executed when a user (HTTP) request is routed to the method."}}
{"actor":{"display_login":"martinplattnr"}}