Closed (fixed)
Project:
Vim Plugin For Drupal
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
13 Nov 2012 at 20:59 UTC
Updated:
23 Jan 2013 at 04:40 UTC
Jump to comment: Most recent file
Follow-up to #1328552: Add support for Coder code reviews and Syntastic plugin and #1839780: Update installation script to download plugins: The installation script can also download the Coder module (if it is not already installed). Can we also automate the installation of PHP_CodeSniffer? The DrupalCS project has been combined with Coder, and we should make sure we stay up to date.
The current instructions on http://drupal.org/node/1419988 include
sudo ln -sv /path/to/coder/coder_sniffer/Drupal $(pear config-get php_dir)/PHP/CodeSniffer/Standards/Drupal
After the patch in #2, the Vimrc configuration looks for Standards/Drupal instead of Standards/DrupalCodingStandard.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | update-coder-1839806-2.patch | 657 bytes | benjifisher |
Comments
Comment #1
benjifisherStarting with the 7.x-2.x branch of Coder, it includes the DrupalCS module. For now, that means either using git or
$ drush dl coder-7.x-2.x --destination=$HOME/.drushto get the 7.x-2.x-dev release. This merits several comments:
--destinationoption, Coder will be downloaded to the appropriatemodulesdirectory or to the current directory. I tested with and without the@nonesite alias on my Mac's guest account.~/.drushinstead of$HOME/.drushI got a new directory~under the current one.In the issue summary, I asked about installing PHP_CodeSniffer. The right place to work on that is #1829128: make it easier to install and check for PHP CodeSniffer.
Comment #2
benjifisherThe attached patch is one step in the right direction, reflecting updated installation instructions on http://drupal.org/node/1419988.
Comment #3
benjifisherAs of January 4, the recommended version of Coder is 7.x-2.0-beta1. I think it is time to resolve this issue. Do we need anything more than the patch in #2?
Comment #4
benjifisherFixed and committed: 387650e.
I also updated the issue summary.
Comment #5.0
(not verified) commentedAdd a note describing the configuration change and a link to the Coder installation instructions.