{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/13995","labels_url":"https://api.github.com/repos/symfony/symfony/issues/13995/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/13995/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/13995/events","html_url":"https://github.com/symfony/symfony/pull/13995","id":63260090,"number":13995,"title":"[2.3] Static Code Analysis for Components","user":{"login":"kalessil","id":1577185,"avatar_url":"https://avatars.githubusercontent.com/u/1577185?v=3","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-20T16:34:41Z","updated_at":"2015-03-20T20:51:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/13995","html_url":"https://github.com/symfony/symfony/pull/13995","diff_url":"https://github.com/symfony/symfony/pull/13995.diff","patch_url":"https://github.com/symfony/symfony/pull/13995.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | n/a\r\n| License       | MIT\r\n| Doc PR        | n/a\r\n\r\nStatic Code Analysis with Php Inspections (EA Extended), no functional changes:\r\n- [Filesystem] : nested ifs, not optimal ifs\r\n- in_array() miss-uses\r\n- class re-implements an interface of super(s)\r\n- array_keys/array_values as foreach array - fixed cases where changes has sense"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/84141006","html_url":"https://github.com/symfony/symfony/pull/13995#issuecomment-84141006","issue_url":"https://api.github.com/repos/symfony/symfony/issues/13995","id":84141006,"user":{"login":"aitboudad","id":1753742,"avatar_url":"https://avatars.githubusercontent.com/u/1753742?v=3","gravatar_id":"","url":"https://api.github.com/users/aitboudad","html_url":"https://github.com/aitboudad","followers_url":"https://api.github.com/users/aitboudad/followers","following_url":"https://api.github.com/users/aitboudad/following{/other_user}","gists_url":"https://api.github.com/users/aitboudad/gists{/gist_id}","starred_url":"https://api.github.com/users/aitboudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitboudad/subscriptions","organizations_url":"https://api.github.com/users/aitboudad/orgs","repos_url":"https://api.github.com/users/aitboudad/repos","events_url":"https://api.github.com/users/aitboudad/events{/privacy}","received_events_url":"https://api.github.com/users/aitboudad/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T20:51:09Z","updated_at":"2015-03-20T20:51:09Z","body":":+1: "}}