Comments (3)
I changed it from $HOME/.composer
to $HOME/.config/composer
some time ago (see #103 ). I think the latter is used by default on new Ubuntu versions. Some of the other possible options are decribed in the Composer documentation, to which there is a link from README.md.
I'm not sure what can be done to make the fact this directory is OS-dependent more explicit. Listing the available options by copying and pasting part of the Composer documentation doesn't seem like a good idea to me. Do you have any suggestions on how to make it work better?
from php7cc.
Do you have any suggestions on how to make it work better?
Not really as I don't have exposure to a broad level of distros. Only adding both pathes could make it copy/paste?
It just seems that the general statement of #103 is wrong. Its only a minor thing though.
from php7cc.
It just seems that the general statement of #103 is wrong.
It definitely does not apply to every OS/distro out there. I just thought that adding $HOME/.config/composer/vendor/bin
and a link to the Composer doc that lists other possible alternatives would be enough. But maybe you are right and I should add all the cases that we are currently aware of to the installation guide. That would probably make a better user experience. It just feels somewhat wrong to repeat the things that are already explained pretty good elsewhere.
Thanks for bringing it up anyway, I'll think about ways of making the install guide more clear.
from php7cc.
Related Issues (20)
- False positive: Cannot redeclare global function
- False positive: Namespace declaration statement has to be the very first statement
- False Positive: call static method on FQCN string
- PHP Fatal error: Cannot access private property HOT 1
- False Positive: Function argument(s) returned by "func_get_args" might have been modified HOT 6
- False Positive: [Error] Syntax error, unexpected T_SWITCH, expecting T_STRING on line 55. Processing aborted.
- Command "php7cc" is not defined. HOT 1
- Failed to catch: Fatal error: Cannot use $this as parameter in ... HOT 1
- Globbing patterns in Exclude HOT 1
- Is possible to turn specifics checks? HOT 1
- Backward incompatible changes for PHP7 too few function arguments are not detected HOT 3
- Unhelpful "Closing delimiter foo not found" message HOT 3
- Output result into a txt file HOT 2
- space between = and & fools the checker where =& would be caught
- Unquoted string as index or general not detected
- PHP nullable typehinting not supported now
- [Warning] "yield" usage in expression context HOT 1
- Error without a file: [Error] file_get_contents(): Filename cannot be empty. Processing aborted.
- Should "does not cause an error in PHP 7" be an warning? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php7cc.