Docs: fix documention deep links (#11233)
* Docs: Fixed the deep links to the documentation website. Search scope: `src/Composer/Command`. * Docs: Fixed the deep links to the documentation website.pull/11244/head
parent
737fd0fca8
commit
da611e089a
|
@ -1567,7 +1567,7 @@
|
|||
### [1.0.0-alpha6] - 2012-10-23
|
||||
|
||||
* Schema: Added ability to pass additional options to repositories (i.e. ssh keys/client certificates to secure private repos)
|
||||
* Schema: Added a new `~` operator that should be preferred over `>=`, see https://getcomposer.org/doc/01-basic-usage.md#package-versions
|
||||
* Schema: Added a new `~` operator that should be preferred over `>=`, see https://getcomposer.org/doc/01-basic-usage.md#package-version-constraints
|
||||
* Schema: Version constraints `<x.y` are assumed to be `<x.y-dev` unless specified as `<x.y-stable` to reduce confusion
|
||||
* Added `config` command to edit/list config values, including --global switch for system config
|
||||
* Added OAuth token support for the GitHub API
|
||||
|
|
|
@ -45,7 +45,7 @@ Displays detailed information about where a package is referenced.
|
|||
|
||||
<info>php composer.phar depends composer/composer</info>
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#depends-why-
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#depends-why
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -47,7 +47,7 @@ class DumpAutoloadCommand extends BaseCommand
|
|||
<<<EOT
|
||||
<info>php composer.phar dump-autoload</info>
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload-
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#dump-autoload-dumpautoload
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -46,7 +46,7 @@ Displays detailed information about why a package cannot be installed.
|
|||
|
||||
<info>php composer.phar prohibits composer/composer</info>
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#prohibits-why-not-
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#prohibits-why-not
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -120,7 +120,7 @@ If you do not specify a version constraint, composer will choose a suitable one
|
|||
|
||||
If you do not want to install the new dependencies immediately you can call it with --no-update
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#require
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#require-r
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -66,7 +66,7 @@ The <info>run-script</info> command runs scripts defined in composer.json:
|
|||
|
||||
<info>php composer.phar run-script post-update-cmd</info>
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#run-script
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#run-script-run
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -54,7 +54,7 @@ The <info>run-script</info> command runs scripts defined in composer.json:
|
|||
|
||||
<info>php composer.phar run-script post-update-cmd</info>
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#run-script
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#run-script-run
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -66,7 +66,7 @@ versions of composer and if found, installs the latest.
|
|||
|
||||
<info>php composer.phar self-update</info>
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#self-update-selfupdate-
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#self-update-selfupdate
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -110,7 +110,7 @@ class ShowCommand extends BaseCommand
|
|||
The show command displays detailed information about a package, or
|
||||
lists all packages available.
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#show
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#show-info
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -106,7 +106,7 @@ To run a partial update with more restrictive constraints you can use the shorth
|
|||
|
||||
To select packages names interactively with auto-completion use <info>-i</info>.
|
||||
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#update-u
|
||||
Read more at https://getcomposer.org/doc/03-cli.md#update-u-upgrade
|
||||
EOT
|
||||
)
|
||||
;
|
||||
|
|
|
@ -534,7 +534,7 @@ class Locker
|
|||
if ($missingRequirements) {
|
||||
$missingRequirementInfo[] = 'This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.';
|
||||
$missingRequirementInfo[] = 'Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md';
|
||||
$missingRequirementInfo[] = 'and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require';
|
||||
$missingRequirementInfo[] = 'and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r';
|
||||
}
|
||||
|
||||
return $missingRequirementInfo;
|
||||
|
|
|
@ -58,7 +58,7 @@ class ValidateCommandTest extends TestCase
|
|||
- Required package "root/req" is not present in the lock file.
|
||||
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
|
||||
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
|
||||
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require
|
||||
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
|
||||
OUTPUT;
|
||||
|
||||
$this->assertSame(trim($expected), trim($appTester->getDisplay(true)));
|
||||
|
|
|
@ -36,7 +36,7 @@ Verifying lock file contents can be installed on current platform.
|
|||
- Required package "newly-required/pkg" is not present in the lock file.
|
||||
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
|
||||
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
|
||||
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require
|
||||
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
|
||||
--EXPECT-EXIT-CODE--
|
||||
4
|
||||
--EXPECT--
|
||||
|
|
|
@ -43,7 +43,7 @@ Verifying lock file contents can be installed on current platform.
|
|||
- Required package "foo/bar" is in the lock file as "1.0.0" but that does not satisfy your constraint "2.0.0".
|
||||
This usually happens when composer files are incorrectly merged or the composer.json file is manually edited.
|
||||
Read more about correctly resolving merge conflicts https://getcomposer.org/doc/articles/resolving-merge-conflicts.md
|
||||
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require
|
||||
and prefer using the "require" command over editing the composer.json file directly https://getcomposer.org/doc/03-cli.md#require-r
|
||||
--EXPECT-EXIT-CODE--
|
||||
4
|
||||
--EXPECT--
|
||||
|
|
Loading…
Reference in New Issue