Updates the 'Setting environment variables' example to call Composer using `@composer` in order to automatically resolve to whatever composer.phar is currently being used as detailed in the previous section on this same page.
Since this was included in a minor version, it's nice to tell the user if this feature is available on the version they're running or if they need to upgrade. If it's not available, the only hint (besides the missing aliases on `composer list`) is the mild complaint at `composer validate`.
* Add IPv4 fallback on connection timeout, and adds COMPOSER_IPRESOLVE env var, fixes#530
* Address feedback
* Add warning in diagnose command when COMPOSER_IPRESOLVE is set
* Add support for adding Command classes as scripts, fixes#11134
* Allow all options to be forwarded and allow using references to other scripts with args
* Fix build
* Add more checks
* Ensure exceptions are not swallowed, and remove naming restriction by using a single-command app
* Update docs
* Add tests, fix issue merging params when combining nested scripts and CLI params
* Add newline at end of file.
* Create a uniformat in the code syntax highlighting by using the main syntax `shell` instead of the alias `bash`/`sh`.
* Added (of corrected) the missing code syntax highlighting.
* Split the shell commands from the text outputs.
* Fix JSON samples formatting.
* Checked the commands and updated the text output.
Always create proxy files for package binaries,
to avoid not working binaries in case the package
was installed from a path repository and is itself linked
If the binary is a PHP script, a global variable is now exposed,
which holds the path to the vendor/autoload.php file.
This variable can the be used in the binaries to include this file
without guessing where the path to the vendor folder might be.
Additionally it is now checked on binary creation whether
the reference binary has a shebang and if not, generates
a much simple proxy code, because the stream wrapper code,
that is required for PHP <8 to omit the shebang from the output,
can be skipped.
Fixes: #10119
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>