{"action":"created","issue":{"url":"https://api.github.com/repos/php-fig/fig-standards/issues/613","labels_url":"https://api.github.com/repos/php-fig/fig-standards/issues/613/labels{/name}","comments_url":"https://api.github.com/repos/php-fig/fig-standards/issues/613/comments","events_url":"https://api.github.com/repos/php-fig/fig-standards/issues/613/events","html_url":"https://github.com/php-fig/fig-standards/issues/613","id":103188051,"number":613,"title":"Private property and underscore","user":{"login":"DenisOgr","id":1311408,"avatar_url":"https://avatars.githubusercontent.com/u/1311408?v=3","gravatar_id":"","url":"https://api.github.com/users/DenisOgr","html_url":"https://github.com/DenisOgr","followers_url":"https://api.github.com/users/DenisOgr/followers","following_url":"https://api.github.com/users/DenisOgr/following{/other_user}","gists_url":"https://api.github.com/users/DenisOgr/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisOgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisOgr/subscriptions","organizations_url":"https://api.github.com/users/DenisOgr/orgs","repos_url":"https://api.github.com/users/DenisOgr/repos","events_url":"https://api.github.com/users/DenisOgr/events{/privacy}","received_events_url":"https://api.github.com/users/DenisOgr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-26T06:37:55Z","updated_at":"2015-08-28T07:08:23Z","closed_at":"2015-08-26T07:38:02Z","body":"Should I use underscore in private property? When I use It catches warning: \r\n```bash\r\n9 | WARNING | Property name \"$_table_emails\" should not be prefixed\r\n   |         | with an underscore to indicate visibility\r\n```\r\nWhen not use underscore, it catches error:\r\n```bash\r\n8 | ERROR   | Private property name must be prefixed with\r\n   |         | underscore.\r\n```\r\n\r\nMy file: http://joxi.ru/823gkYKHxzYw2O\r\nResult of phpcs with PSR2: http://joxi.ru/L2130BdUbwBnrX\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/php-fig/fig-standards/issues/comments/135657865","html_url":"https://github.com/php-fig/fig-standards/issues/613#issuecomment-135657865","issue_url":"https://api.github.com/repos/php-fig/fig-standards/issues/613","id":135657865,"user":{"login":"DenisOgr","id":1311408,"avatar_url":"https://avatars.githubusercontent.com/u/1311408?v=3","gravatar_id":"","url":"https://api.github.com/users/DenisOgr","html_url":"https://github.com/DenisOgr","followers_url":"https://api.github.com/users/DenisOgr/followers","following_url":"https://api.github.com/users/DenisOgr/following{/other_user}","gists_url":"https://api.github.com/users/DenisOgr/gists{/gist_id}","starred_url":"https://api.github.com/users/DenisOgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DenisOgr/subscriptions","organizations_url":"https://api.github.com/users/DenisOgr/orgs","repos_url":"https://api.github.com/users/DenisOgr/repos","events_url":"https://api.github.com/users/DenisOgr/events{/privacy}","received_events_url":"https://api.github.com/users/DenisOgr/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T07:08:23Z","updated_at":"2015-08-28T07:08:23Z","body":"@samdark, as you comment I don`t must use \"single underscore to indicate protected or private\". But when I don`t use I catch error \"Private property must be prefixed with underscore\" (you can see it on image below) "}}