{"action":"created","issue":{"url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/issues/23","labels_url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/issues/23/comments","events_url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/issues/23/events","html_url":"https://github.com/escapestudios/Symfony2-coding-standard/pull/23","id":72464367,"number":23,"title":"Deactivate SpaceAfterCloseBracket PEAR Rule","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-01T16:12:08Z","updated_at":"2015-05-28T14:43:43Z","closed_at":"2015-05-28T14:07:11Z","pull_request":{"url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/pulls/23","html_url":"https://github.com/escapestudios/Symfony2-coding-standard/pull/23","diff_url":"https://github.com/escapestudios/Symfony2-coding-standard/pull/23.diff","patch_url":"https://github.com/escapestudios/Symfony2-coding-standard/pull/23.patch"},"body":"This rules cause problem with some Symfony bundle generated code like sonata-admin.\r\n\r\nHere an example.\r\n```php\r\nprotected function configureListFields(ListMapper $listMapper)\r\n{\r\n    $listMapper\r\n        ->add('ref')\r\n        ->add('isValid')\r\n        ->add('_action', 'actions', array(\r\n            'actions' => array(\r\n                'show'      => array(),\r\n                'edit'      => array(),\r\n            )\r\n        ))\r\n    ;\r\n}\r\n```\r\n\r\nThis will throw the following error 'Space after closing parenthesis of function call prohibited'.\r\n\r\nBut this is not prohibited on Symfony2 coding standards.\r\n\r\nAlready made and accepted on an another similar project: https://github.com/leaphub/phpcs-symfony2-standard/pull/1"},"comment":{"url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/issues/comments/106368668","html_url":"https://github.com/escapestudios/Symfony2-coding-standard/pull/23#issuecomment-106368668","issue_url":"https://api.github.com/repos/escapestudios/Symfony2-coding-standard/issues/23","id":106368668,"user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T14:43:43Z","updated_at":"2015-05-28T14:43:43Z","body":":+1:"}}