Fix typos (#12133)
parent
3a503d1805
commit
8728a75930
|
@ -721,7 +721,7 @@
|
|||
* UX Change: Packages from `path` repositories which are symlinked in the vendor dir will always be updated in partial updates to avoid mistakes when the original composer.json changes but the symlinked package is not explicitly updated (#9765)
|
||||
* Added `reinstall` command that takes one or more package names, including wildcard (`*`) support, and removes then reinstalls them in the exact same version they had (#9915)
|
||||
* Added support for parallel package installs on Windows via [7-Zip](https://www.7-zip.org/) if it is installed (#9875)
|
||||
* Added detection of invalid composer.lock files that do not fullfil the composer.json requirements to `validate` command (#9899)
|
||||
* Added detection of invalid composer.lock files that do not fulfill the composer.json requirements to `validate` command (#9899)
|
||||
* Added `InstalledVersions::getInstalledPackagesByType(string $type)` to retrieve installed plugins for example, [read more](https://getcomposer.org/doc/07-runtime.md#knowing-which-packages-of-a-given-type-are-installed) (#9699)
|
||||
* Added `InstalledVersions::getInstalledPath(string $packageName)` to retrieve the install path of a given package, [read more](https://getcomposer.org/doc/07-runtime.md#knowing-the-path-in-which-a-package-is-installed) (#9699)
|
||||
* Added flag to `InstalledVersions::isInstalled()` to allow excluding dev requirements from that check (#9682)
|
||||
|
@ -1150,7 +1150,7 @@
|
|||
* Added a `--no-cache` flag available on all commands to run with the cache disabled
|
||||
* Added PHP_BINARY as env var pointing to the PHP process when executing Composer scripts as shell scripts
|
||||
* Added a `use-github-api` config option which can set the `no-api` flag on all GitHub VCS repositories declared
|
||||
* Added a static helper you can preprend to a script to avoid process timeouts, `"Composer\\Config::disableProcessTimeout"`
|
||||
* Added a static helper you can prepend to a script to avoid process timeouts, `"Composer\\Config::disableProcessTimeout"`
|
||||
* Added Event::getOriginatingEvent to retrieve an event's original event when a script handler forwards to another one
|
||||
* Added support for autoloading directly from a phar file
|
||||
* Fixed loading order of plugins to always initialize them in order of dependencies
|
||||
|
|
|
@ -296,7 +296,7 @@ php composer.phar config [--global] --editor --auth
|
|||
|
||||
## github-oauth
|
||||
|
||||
To create a new access token, head to your [token settings section on Github](https://github.com/settings/tokens) and [generate a new token](https://github.com/settings/tokens/new).
|
||||
To create a new access token, head to your [token settings section on GitHub](https://github.com/settings/tokens) and [generate a new token](https://github.com/settings/tokens/new).
|
||||
|
||||
For public repositories when rate limited, a token *without* any particular scope is sufficient (see `(no scope)` in the [scopes documentation](https://docs.github.com/en/developers/apps/building-oauth-apps/scopes-for-oauth-apps)). Such tokens grant read-only access to public information.
|
||||
|
||||
|
|
|
@ -1025,7 +1025,7 @@ EOT
|
|||
}
|
||||
|
||||
/**
|
||||
* Suggest setting-keys, while taking given options in acount.
|
||||
* Suggest setting-keys, while taking given options in account.
|
||||
*/
|
||||
private function suggestSettingKeys(): \Closure
|
||||
{
|
||||
|
|
|
@ -175,7 +175,7 @@ EOT
|
|||
} elseif (10 > $rate['remaining']) {
|
||||
$io->write('<warning>WARNING</warning>');
|
||||
$io->write(sprintf(
|
||||
'<comment>Github has a rate limit on their API. '
|
||||
'<comment>GitHub has a rate limit on their API. '
|
||||
. 'You currently have <options=bold>%u</options=bold> '
|
||||
. 'out of <options=bold>%u</options=bold> requests left.' . PHP_EOL
|
||||
. 'See https://developer.github.com/v3/#rate-limiting and also' . PHP_EOL
|
||||
|
|
|
@ -107,7 +107,7 @@ class GitLabDriver extends VcsDriver
|
|||
;
|
||||
$origin = self::determineOrigin($configuredDomains, $guessedDomain, $urlParts, $match['port']);
|
||||
if (false === $origin) {
|
||||
throw new \LogicException('It should not be possible to create a gitlab driver with an unparseable origin URL ('.$this->url.')');
|
||||
throw new \LogicException('It should not be possible to create a gitlab driver with an unparsable origin URL ('.$this->url.')');
|
||||
}
|
||||
$this->originUrl = $origin;
|
||||
|
||||
|
|
|
@ -707,11 +707,11 @@ class InitCommandTest extends TestCase
|
|||
|
||||
$appTester->setInputs([
|
||||
'vendor/pkg', // Pkg name
|
||||
'my desciption', // Description
|
||||
'my description', // Description
|
||||
'Mr. Test <test@example.org>', // Author
|
||||
'stable', // Minimum stability
|
||||
'library', // Type
|
||||
'AGPL-3.0-only', // License
|
||||
'AGPL-3.0-only', // License
|
||||
'no', // Define dependencies
|
||||
'no', // Define dev dependencies
|
||||
'n', // Add PSR-4 autoload mapping
|
||||
|
@ -724,7 +724,7 @@ class InitCommandTest extends TestCase
|
|||
|
||||
$expected = [
|
||||
'name' => 'vendor/pkg',
|
||||
'description' => 'my desciption',
|
||||
'description' => 'my description',
|
||||
'type' => 'library',
|
||||
'license' => 'AGPL-3.0-only',
|
||||
'authors' => [['name' => 'Mr. Test', 'email' => 'test@example.org']],
|
||||
|
|
|
@ -25,8 +25,8 @@ class HtmlOutputFormatterTest extends TestCase
|
|||
]);
|
||||
|
||||
self::assertEquals(
|
||||
'text <span style="color:green;">green</span> <span style="color:yellow;">yellow</span> <span style="color:black;background-color:yellow;">black w/ yello bg</span>',
|
||||
$formatter->format('text <info>green</info> <comment>yellow</comment> <warning>black w/ yello bg</warning>')
|
||||
'text <span style="color:green;">green</span> <span style="color:yellow;">yellow</span> <span style="color:black;background-color:yellow;">black w/ yellow bg</span>',
|
||||
$formatter->format('text <info>green</info> <comment>yellow</comment> <warning>black w/ yellow bg</warning>')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #4319 ( github.com/composer/composer/issues/4319 ).
|
||||
See GitHub issue #4319 ( github.com/composer/composer/issues/4319 ).
|
||||
|
||||
Present a clear error message when config.platform.php version results in a conflict rule.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #4795 ( github.com/composer/composer/issues/4795 ).
|
||||
See GitHub issue #4795 ( github.com/composer/composer/issues/4795 ).
|
||||
|
||||
Composer\Installer::allowListUpdateDependencies should not output a warning for dependencies that need to be updated
|
||||
that are also a root package, when that root package is also explicitly allowed.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #4795 ( github.com/composer/composer/issues/4795 ).
|
||||
See GitHub issue #4795 ( github.com/composer/composer/issues/4795 ).
|
||||
|
||||
Composer\Installer::allowListUpdateDependencies intentionally ignores root requirements even if said package is also a
|
||||
dependency of one the requirements that is allowed for update.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #8902 ( https://github.com/composer/composer/issues/8902 ).
|
||||
See GitHub issue #8902 ( https://github.com/composer/composer/issues/8902 ).
|
||||
|
||||
Avoid installing packages twice if they are required in different versions and one is matched by a dev package.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #8903 ( https://github.com/composer/composer/issues/8903 ).
|
||||
See GitHub issue #8903 ( https://github.com/composer/composer/issues/8903 ).
|
||||
|
||||
Recursive output of learnt rules can lead to infinite loop.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #9012 ( https://github.com/composer/composer/issues/9012 and https://gist.github.com/Seldaek/4e2dbc2cea4b4fd7a8207bb310ec8e34).
|
||||
See GitHub issue #9012 ( https://github.com/composer/composer/issues/9012 and https://gist.github.com/Seldaek/4e2dbc2cea4b4fd7a8207bb310ec8e34).
|
||||
|
||||
Recursive analysis of the same learnt rules can lead to infinite recursion in solver.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #9290 ( https://github.com/composer/composer/issues/9290 ).
|
||||
See GitHub issue #9290 ( https://github.com/composer/composer/issues/9290 ).
|
||||
MultiConflictRule with a level 1 decision needs to exit correctly.
|
||||
|
||||
--COMPOSER--
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--TEST--
|
||||
|
||||
See Github issue #6661 ( github.com/composer/composer/issues/6661 ).
|
||||
See GitHub issue #6661 ( github.com/composer/composer/issues/6661 ).
|
||||
|
||||
When `--with-all-dependencies` is used, Composer should update the dependencies of all allowed packages, even if the dependency is a root requirement.
|
||||
|
||||
|
|
Loading…
Reference in New Issue