{"action":"closed","issue":{"url":"https://api.github.com/repos/Infinitiweb/php-code-conventions/issues/5","repository_url":"https://api.github.com/repos/Infinitiweb/php-code-conventions","labels_url":"https://api.github.com/repos/Infinitiweb/php-code-conventions/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Infinitiweb/php-code-conventions/issues/5/comments","events_url":"https://api.github.com/repos/Infinitiweb/php-code-conventions/issues/5/events","html_url":"https://github.com/Infinitiweb/php-code-conventions/issues/5","id":313772112,"number":5,"title":"Переменные содержащие списки","user":{"login":"kamilov","id":165041,"avatar_url":"https://avatars1.githubusercontent.com/u/165041?v=4","gravatar_id":"","url":"https://api.github.com/users/kamilov","html_url":"https://github.com/kamilov","followers_url":"https://api.github.com/users/kamilov/followers","following_url":"https://api.github.com/users/kamilov/following{/other_user}","gists_url":"https://api.github.com/users/kamilov/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilov/subscriptions","organizations_url":"https://api.github.com/users/kamilov/orgs","repos_url":"https://api.github.com/users/kamilov/repos","events_url":"https://api.github.com/users/kamilov/events{/privacy}","received_events_url":"https://api.github.com/users/kamilov/received_events","type":"User","site_admin":false},"labels":[{"id":899285844,"url":"https://api.github.com/repos/Infinitiweb/php-code-conventions/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":{"login":"hello-omny","id":5228973,"avatar_url":"https://avatars0.githubusercontent.com/u/5228973?v=4","gravatar_id":"","url":"https://api.github.com/users/hello-omny","html_url":"https://github.com/hello-omny","followers_url":"https://api.github.com/users/hello-omny/followers","following_url":"https://api.github.com/users/hello-omny/following{/other_user}","gists_url":"https://api.github.com/users/hello-omny/gists{/gist_id}","starred_url":"https://api.github.com/users/hello-omny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hello-omny/subscriptions","organizations_url":"https://api.github.com/users/hello-omny/orgs","repos_url":"https://api.github.com/users/hello-omny/repos","events_url":"https://api.github.com/users/hello-omny/events{/privacy}","received_events_url":"https://api.github.com/users/hello-omny/received_events","type":"User","site_admin":false},"assignees":[{"login":"hello-omny","id":5228973,"avatar_url":"https://avatars0.githubusercontent.com/u/5228973?v=4","gravatar_id":"","url":"https://api.github.com/users/hello-omny","html_url":"https://github.com/hello-omny","followers_url":"https://api.github.com/users/hello-omny/followers","following_url":"https://api.github.com/users/hello-omny/following{/other_user}","gists_url":"https://api.github.com/users/hello-omny/gists{/gist_id}","starred_url":"https://api.github.com/users/hello-omny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hello-omny/subscriptions","organizations_url":"https://api.github.com/users/hello-omny/orgs","repos_url":"https://api.github.com/users/hello-omny/repos","events_url":"https://api.github.com/users/hello-omny/events{/privacy}","received_events_url":"https://api.github.com/users/hello-omny/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-04-12T15:15:31Z","updated_at":"2018-04-13T13:45:48Z","closed_at":"2018-04-13T13:45:48Z","author_association":"NONE","body":"[В названии переменной не должно быть указания типа](https://github.com/Infinitiweb/php-code-conventions/blob/master/README.md#-%D0%92-%D0%BD%D0%B0%D0%B7%D0%B2%D0%B0%D0%BD%D0%B8%D0%B8-%D0%BF%D0%B5%D1%80%D0%B5%D0%BC%D0%B5%D0%BD%D0%BD%D0%BE%D0%B9-%D0%BD%D0%B5-%D0%B4%D0%BE%D0%BB%D0%B6%D0%BD%D0%BE-%D0%B1%D1%8B%D1%82%D1%8C-%D1%83%D0%BA%D0%B0%D0%B7%D0%B0%D0%BD%D0%B8%D1%8F-%D1%82%D0%B8%D0%BF%D0%B0)\r\n\r\nПро форматы оставляем, а вот со списками работаем следующим образом:\r\n- В названии переменной в начале стоит название сущности в единственном числе\r\n- На конце прописывается List\r\n\r\nПлохо:\r\n\r\n```php\r\n$projects = [];\r\n$usersList = [];\r\n```\r\n\r\nХорошо:\r\n\r\n```php\r\n$pojectList = [];\r\n$userList = [];\r\n```"}}
{"actor":{"display_login":"hello-omny"}}