1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 16:42:57 +00:00

Clarify PATH modification, refs #5970

This commit is contained in:
Jordi Boggiano 2016-12-18 11:39:05 +01:00
parent b1156ed376
commit da097aa6fc

View file

@ -210,8 +210,10 @@ simply running `composer test`:
}
```
> **Note:** Composer's bin-dir is pushed on top of the PATH so that binaries
> of dependencies are easily accessible as CLI commands when writing scripts.
> **Note:** Before executing scripts, Composer's bin-dir is temporarily pushed
> on top of the PATH environment variable so that binaries of dependencies
> are easily accessible. In this example no matter if the `phpunit` binary is
> actually in `vendor/bin/phpunit` or `bin/phpunit` it will be found and executed.
## Referencing scripts