-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install coding-standards per README #215
Comments
It's due to the current release being listed as The command line is modified as per the instructions note on " make sure you allow usage of alpha software in Composer: " composer property-set minimum-stability "alpha" Then it should work composer require joomla/coding-standards "~2.0@alpha" Once we solve #206 we should be ready to have a stable release |
ok, it ran that time but it made a folder called "vendor" in the root www folder which is not where it should be. Things are a mess now :( |
See composer documentation on how to set the path for installing a package. Note: I haven't done this... This is just my general understanding of the process, I have very little personal experience in using composer this way. for my local setup I installed PHPCS via PEAR and just downloaded the git zip of our coding standard and in a folder and told PHPCS where that folder is as per the readme instruction here (or in the PHPCS wiki) |
ok, got it MOSTLY.. a couple of changes were required.. #2 run the following #3 point nb to "C:\neard\tools\composer\composer1.4.2\vendor\squizlabs\php_codesniffer\scripts\phpcs" However the joomla coding standard does not appear. |
it should install in the vendor/joomla folder, you can tel PHPCS where that is with something like the following. (this installs the Joomla standard and the example rulesets, make sure you put your paths in). vendor/bin/phpcs --config-set installed_paths vendor/joomla/coding-standards,vendor/joomla/coding-standards/Joomla/ExampleRulesets |
Ok, what have I done wrong?
The text was updated successfully, but these errors were encountered: