-
-
Notifications
You must be signed in to change notification settings - Fork 493
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
Preferred upgrade path when installed using create-project? #481
Comments
Not a direct answer to your problem, but I always install this with |
@samwilson yeah, I originally had it that way but changed the to install instructions in the README. I'm thinking the README should maybe suggest installing globally with composer over create-project as not being able to update it is an issue. |
@jjeaton Yeah I reckon |
Any chance of updating the README or providing recommended install instructions that include the ability to upgrade to the latest version? |
If you chose to keep Personally I have a local project for tools (never got on global install bandwagon). Does |
+1 to
I ended up on this issue because I was curious why |
PHPCS also recommends I think that is better than |
I think our defaults are reasonable and we create no roadblocks for other configurations for those who want it, I would say good enough for now. :) If one knows difference between creating project and global install then they can pick which suits their needs more just fine. |
To me, updating the README to outline the options (plus how to upgrade) would be useful. Even if it's to say, "if you use our recommended install method, you have to delete it and re-install with |
This commit updates the README guide to be in line with WordPressCS 3.0.0. This commit: * Removes the "Last commit to stable" and "Nr of contributors" badges. * Updates the "Tested on PHP..." badges. * Updates the table of contents to match the new content of the file. * Removes the "Project history" section (has been moved to the wiki). * Makes the pre-requisites for the package more explicit and puts them in a separate section. * Updates the installation instructions and adds update instructions. - Removes the instructions related to stand-alone installs and using `composer create-project`. - The new installation instructions take the changes in Composer 2.2 (permission required for plugins to run) into account. - The new installation instructions include a link to the end user/ruleset maintainer upgrade guide for WPCS 3.0.0 as the initial upgrade may need extra work. * Updates references to the Composer PHPCS plugin to make sure these reference the new name and link to the correct GH repo (as the repo has moved). * Removes the reference to the VIP ruleset which was removed in WPCS 2.0.0 from the "Rulesets" section. * Adds links to the "customizable properties" section for where to find customizable properties for PHPCS native sniffs and sniffs from PHPCSExtra. * Adds the `VariableAnalysis` standard and the `VIP Coding Standards` to the list of optional additional rulesets to use. * Updates the command and output for the example run. * Removes the links to IDE related tutorials in favour of a link to the wiki (to save us having to maintain this list in multiple places). * Ensures the text consistently uses `WordPressCS` instead of `WPCS`. Closes #481 Closes #1821 Closes #1901
I can't seem to find any information on how to upgrade to the latest release of wpcs when installed using this:
composer create-project wp-coding-standards/wpcs:dev-master --no-dev
Running
composer update
only updates the dependencies. Is there a recommended way to keep this up to date with composer, or do I need to delete the directory and runcomposer create-project wp-coding-standards/wpcs:dev-master --no-dev
again?The text was updated successfully, but these errors were encountered: