{"action":"created","issue":{"url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/issues/54","labels_url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/issues/54/comments","events_url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/issues/54/events","html_url":"https://github.com/Crosscheck/drupal-theme-boilerplate/issues/54","id":59504358,"number":54,"title":"Prefer single quotes or double quotes","user":{"login":"sqndr","id":3516395,"avatar_url":"https://avatars.githubusercontent.com/u/3516395?v=3","gravatar_id":"","url":"https://api.github.com/users/sqndr","html_url":"https://github.com/sqndr","followers_url":"https://api.github.com/users/sqndr/followers","following_url":"https://api.github.com/users/sqndr/following{/other_user}","gists_url":"https://api.github.com/users/sqndr/gists{/gist_id}","starred_url":"https://api.github.com/users/sqndr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqndr/subscriptions","organizations_url":"https://api.github.com/users/sqndr/orgs","repos_url":"https://api.github.com/users/sqndr/repos","events_url":"https://api.github.com/users/sqndr/events{/privacy}","received_events_url":"https://api.github.com/users/sqndr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/labels/discussion","name":"discussion","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/milestones/1","html_url":"https://github.com/Crosscheck/drupal-theme-boilerplate/milestones/Version%200.1.2","labels_url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/milestones/1/labels","id":1030815,"number":1,"title":"Version 0.1.2","description":"New version of boilerplate","creator":{"login":"rob-bar","id":884007,"avatar_url":"https://avatars.githubusercontent.com/u/884007?v=3","gravatar_id":"","url":"https://api.github.com/users/rob-bar","html_url":"https://github.com/rob-bar","followers_url":"https://api.github.com/users/rob-bar/followers","following_url":"https://api.github.com/users/rob-bar/following{/other_user}","gists_url":"https://api.github.com/users/rob-bar/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-bar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-bar/subscriptions","organizations_url":"https://api.github.com/users/rob-bar/orgs","repos_url":"https://api.github.com/users/rob-bar/repos","events_url":"https://api.github.com/users/rob-bar/events{/privacy}","received_events_url":"https://api.github.com/users/rob-bar/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":5,"state":"open","created_at":"2015-03-20T11:37:52Z","updated_at":"2015-03-27T09:46:40Z","due_on":"2015-04-09T22:00:00Z","closed_at":null},"comments":8,"created_at":"2015-03-02T16:25:54Z","updated_at":"2015-03-27T14:01:06Z","closed_at":null,"body":"Currently the back-end developers use single quotes as the coding standard, while everything in the front-end (javascript and scss) uses double quotes. It would be nice if we could all use the same default. This makes it more easy for \"all-round\" developers when developing on a project. \r\n\r\n**Note:** All of the Javascript in Drupal core is also written using single quotes where possible. \r\n\r\n> Drupal does not have a hard standard for the use of single quotes vs. double quotes. Where possible, keep consistency within each module, and respect the personal style of other developers.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/issues/comments/86947975","html_url":"https://github.com/Crosscheck/drupal-theme-boilerplate/issues/54#issuecomment-86947975","issue_url":"https://api.github.com/repos/Crosscheck/drupal-theme-boilerplate/issues/54","id":86947975,"user":{"login":"sqndr","id":3516395,"avatar_url":"https://avatars.githubusercontent.com/u/3516395?v=3","gravatar_id":"","url":"https://api.github.com/users/sqndr","html_url":"https://github.com/sqndr","followers_url":"https://api.github.com/users/sqndr/followers","following_url":"https://api.github.com/users/sqndr/following{/other_user}","gists_url":"https://api.github.com/users/sqndr/gists{/gist_id}","starred_url":"https://api.github.com/users/sqndr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqndr/subscriptions","organizations_url":"https://api.github.com/users/sqndr/orgs","repos_url":"https://api.github.com/users/sqndr/repos","events_url":"https://api.github.com/users/sqndr/events{/privacy}","received_events_url":"https://api.github.com/users/sqndr/received_events","type":"User","site_admin":false},"created_at":"2015-03-27T14:01:06Z","updated_at":"2015-03-27T14:01:06Z","body":"I think that consistency between 2 different programming languages is something that shouldn't be considered.\r\n\r\n=> It's about the consistency in the **system**. Drupal uses single quotes everywhere. Even the omega base theme that we use has single quotes. Since we can use single quotes in javascript, why be different?\r\n\r\nphp yes single quotes\r\n\r\n=> PHP, single quotes = literal string / double quotes => parsed string (huge difference)\r\n\r\nAll previous boilerplate projects use doubles\r\n\r\n=> … which just means that nobody made an issue out of it.\r\n\r\n---\r\n\r\nSince this is a Drupal boilerplate, preferring single quotes to be consistent. \r\n\r\n---"}}