{"action":"created","issue":{"url":"https://api.github.com/repos/beetboxvm/beetbox/issues/182","repository_url":"https://api.github.com/repos/beetboxvm/beetbox","labels_url":"https://api.github.com/repos/beetboxvm/beetbox/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/beetboxvm/beetbox/issues/182/comments","events_url":"https://api.github.com/repos/beetboxvm/beetbox/issues/182/events","html_url":"https://github.com/beetboxvm/beetbox/issues/182","id":145420635,"number":182,"title":"PHPCS/Coder role for Drupal?","user":{"login":"Decipher","id":161090,"avatar_url":"https://avatars.githubusercontent.com/u/161090?v=3","gravatar_id":"","url":"https://api.github.com/users/Decipher","html_url":"https://github.com/Decipher","followers_url":"https://api.github.com/users/Decipher/followers","following_url":"https://api.github.com/users/Decipher/following{/other_user}","gists_url":"https://api.github.com/users/Decipher/gists{/gist_id}","starred_url":"https://api.github.com/users/Decipher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Decipher/subscriptions","organizations_url":"https://api.github.com/users/Decipher/orgs","repos_url":"https://api.github.com/users/Decipher/repos","events_url":"https://api.github.com/users/Decipher/events{/privacy}","received_events_url":"https://api.github.com/users/Decipher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-02T21:39:04Z","updated_at":"2016-04-02T23:33:31Z","closed_at":null,"body":"For the sake of the DrupalCon First Time Sprinters Workshop, we are planning on adding a section on setting up PHPCS and Coder for PHP linting; It'd be nice to somehow have something setup within BeetBox so that users of BeetBox can get everything setup nice and quick.\r\n\r\n@alexdesignworks This might be up your alley?"},"comment":{"url":"https://api.github.com/repos/beetboxvm/beetbox/issues/comments/204827033","html_url":"https://github.com/beetboxvm/beetbox/issues/182#issuecomment-204827033","issue_url":"https://api.github.com/repos/beetboxvm/beetbox/issues/182","id":204827033,"user":{"login":"ivrh","id":2966198,"avatar_url":"https://avatars.githubusercontent.com/u/2966198?v=3","gravatar_id":"","url":"https://api.github.com/users/ivrh","html_url":"https://github.com/ivrh","followers_url":"https://api.github.com/users/ivrh/followers","following_url":"https://api.github.com/users/ivrh/following{/other_user}","gists_url":"https://api.github.com/users/ivrh/gists{/gist_id}","starred_url":"https://api.github.com/users/ivrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivrh/subscriptions","organizations_url":"https://api.github.com/users/ivrh/orgs","repos_url":"https://api.github.com/users/ivrh/repos","events_url":"https://api.github.com/users/ivrh/events{/privacy}","received_events_url":"https://api.github.com/users/ivrh/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T23:33:31Z","updated_at":"2016-04-02T23:33:31Z","body":"@Decipher @alexdesignworks would be great to have a role for that. At the moment I use dcr_provision to activate @alexdesignworks DCR project in the local.Vagrantfile like this (check the dcr_provision line:\r\n\r\n`\r\n# Provision box\r\n      beet_sh = \"#{vconfig['beet_home']}/provisioning/beetbox.sh\"\r\n      remote_sh = \"https://raw.githubusercontent.com/beetboxvm/beetbox/master/provisioning/beetbox.sh\"\r\n      local_provision = \"sudo chmod +x #{beet_sh} && #{debug_mode} #{beet_sh}\"\r\n      remote_provision = \"sudo apt-get -qq update && curl -fsSL #{remote_sh} | sudo bash\"\r\n      dcr_provision = \"cd #{vconfig['beet_base']} && composer require alexdesignworks/dcr && vendor/bin/dcr install\"\r\n      node.vm.provision \"ansible\", type: \"shell\" do |s|\r\n        s.privileged = false\r\n        s.inline = \"if [ -f #{beet_sh} ]; then #{local_provision}; else #{remote_provision}; fi && #{dcr_provision}\"\r\n      end\r\n`"}}