{"action":"created","issue":{"url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/839","repository_url":"https://api.github.com/repos/kalessil/phpinspectionsea","labels_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/839/comments","events_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/839/events","html_url":"https://github.com/kalessil/phpinspectionsea/issues/839","id":302409647,"number":839,"title":"explode(...) misused","user":{"login":"michabbb","id":3524595,"avatar_url":"https://avatars1.githubusercontent.com/u/3524595?v=4","gravatar_id":"","url":"https://api.github.com/users/michabbb","html_url":"https://github.com/michabbb","followers_url":"https://api.github.com/users/michabbb/followers","following_url":"https://api.github.com/users/michabbb/following{/other_user}","gists_url":"https://api.github.com/users/michabbb/gists{/gist_id}","starred_url":"https://api.github.com/users/michabbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michabbb/subscriptions","organizations_url":"https://api.github.com/users/michabbb/orgs","repos_url":"https://api.github.com/users/michabbb/repos","events_url":"https://api.github.com/users/michabbb/events{/privacy}","received_events_url":"https://api.github.com/users/michabbb/received_events","type":"User","site_admin":false},"labels":[{"id":462160567,"url":"https://api.github.com/repos/kalessil/phpinspectionsea/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"kalessil","id":1577185,"avatar_url":"https://avatars2.githubusercontent.com/u/1577185?v=4","gravatar_id":"","url":"https://api.github.com/users/kalessil","html_url":"https://github.com/kalessil","followers_url":"https://api.github.com/users/kalessil/followers","following_url":"https://api.github.com/users/kalessil/following{/other_user}","gists_url":"https://api.github.com/users/kalessil/gists{/gist_id}","starred_url":"https://api.github.com/users/kalessil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalessil/subscriptions","organizations_url":"https://api.github.com/users/kalessil/orgs","repos_url":"https://api.github.com/users/kalessil/repos","events_url":"https://api.github.com/users/kalessil/events{/privacy}","received_events_url":"https://api.github.com/users/kalessil/received_events","type":"User","site_admin":false},"assignees":[{"login":"kalessil","id":1577185,"avatar_url":"https://avatars2.githubusercontent.com/u/1577185?v=4","gravatar_id":"","url":"https://api.github.com/users/kalessil","html_url":"https://github.com/kalessil","followers_url":"https://api.github.com/users/kalessil/followers","following_url":"https://api.github.com/users/kalessil/following{/other_user}","gists_url":"https://api.github.com/users/kalessil/gists{/gist_id}","starred_url":"https://api.github.com/users/kalessil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalessil/subscriptions","organizations_url":"https://api.github.com/users/kalessil/orgs","repos_url":"https://api.github.com/users/kalessil/repos","events_url":"https://api.github.com/users/kalessil/events{/privacy}","received_events_url":"https://api.github.com/users/kalessil/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kalessil/phpinspectionsea/milestones/30","html_url":"https://github.com/kalessil/phpinspectionsea/milestone/30","labels_url":"https://api.github.com/repos/kalessil/phpinspectionsea/milestones/30/labels","id":3145070,"number":30,"title":"C-2.3.19","description":null,"creator":{"login":"kalessil","id":1577185,"avatar_url":"https://avatars2.githubusercontent.com/u/1577185?v=4","gravatar_id":"","url":"https://api.github.com/users/kalessil","html_url":"https://github.com/kalessil","followers_url":"https://api.github.com/users/kalessil/followers","following_url":"https://api.github.com/users/kalessil/following{/other_user}","gists_url":"https://api.github.com/users/kalessil/gists{/gist_id}","starred_url":"https://api.github.com/users/kalessil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalessil/subscriptions","organizations_url":"https://api.github.com/users/kalessil/orgs","repos_url":"https://api.github.com/users/kalessil/repos","events_url":"https://api.github.com/users/kalessil/events{/privacy}","received_events_url":"https://api.github.com/users/kalessil/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":10,"state":"open","created_at":"2018-02-26T19:49:56Z","updated_at":"2018-03-05T18:52:16Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-03-05T18:25:50Z","updated_at":"2018-03-05T18:57:57Z","closed_at":"2018-03-05T18:50:08Z","author_association":"NONE","body":"lets say i have a string `a,b,c` and i need to count the elements (split by ,) i would do (as usual)\r\n\r\n```php\r\n$array = explode(',', 'a,b,c');\r\n$arrayCount = count($array);\r\n```\r\nbut the inspection says \"misused\". because this is most simple way for me, i would like to know a version\r\nthat is \"okay\" for the inspection ;)\r\n\r\nmany thanks\r\n"},"comment":{"url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/comments/370524969","html_url":"https://github.com/kalessil/phpinspectionsea/issues/839#issuecomment-370524969","issue_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/839","id":370524969,"user":{"login":"michabbb","id":3524595,"avatar_url":"https://avatars1.githubusercontent.com/u/3524595?v=4","gravatar_id":"","url":"https://api.github.com/users/michabbb","html_url":"https://github.com/michabbb","followers_url":"https://api.github.com/users/michabbb/followers","following_url":"https://api.github.com/users/michabbb/following{/other_user}","gists_url":"https://api.github.com/users/michabbb/gists{/gist_id}","starred_url":"https://api.github.com/users/michabbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michabbb/subscriptions","organizations_url":"https://api.github.com/users/michabbb/orgs","repos_url":"https://api.github.com/users/michabbb/repos","events_url":"https://api.github.com/users/michabbb/events{/privacy}","received_events_url":"https://api.github.com/users/michabbb/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T18:57:57Z","updated_at":"2018-03-05T18:57:57Z","author_association":"NONE","body":"@kalessil many thanks, my phpstorm didn´t show me this suggestion because the count is a few rows later ;( good2know ;) btw... what is ment with the shortcut **QF** ? ;)"}}
{"actor":{"display_login":"michabbb"}}