Skip to content

Commit a3f9d30

Browse files
committedOct 24, 2020
Escape special characters in Markdown files
1 parent 191196d commit a3f9d30

7 files changed

+18
-19
lines changed
 

‎CHANGELOG.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
### [2.0.0-RC1] 2020-09-10
2424

2525
* Added more advanced filtering to avoid loading all versions of all referenced packages when resolving dependencies, which should reduce memory usage further in some cases
26-
* Added support for many new lib-* packages in the platform repository and improved version detection for some ext-* and lib-* packages
26+
* Added support for many new lib-\* packages in the platform repository and improved version detection for some ext-\* and lib-\* packages
2727
* Added an `--ask` flag to `create-project` command to make Composer prompt for the install dir name, [useful for project install instructions](https://github.com/composer/composer/pull/9181)
2828
* Added support for tar in artifact repositories
2929
* Added a `cache-read-only` config option to make the cache usable in read only mode for containers and such
@@ -212,7 +212,7 @@
212212
* Fixed archive command to persist file permissions inside the zip files
213213
* Fixed init/require command to avoid suggesting packages which are already selected in the search results
214214
* Fixed create-project UX issues
215-
* Fixed filemtime for vendor/composer/* files is now only changing when the files actually change
215+
* Fixed filemtime for vendor/composer/\* files is now only changing when the files actually change
216216
* Fixed issues detecting docker environment with an active open_basedir
217217

218218
### [1.9.3] 2020-02-04
@@ -222,7 +222,7 @@
222222
### [1.9.2] 2020-01-14
223223

224224
* Fixed minor git driver bugs
225-
* Fixed schema validation for version field to allow dev-* versions too
225+
* Fixed schema validation for version field to allow dev-\* versions too
226226
* Fixed external processes' output being formatted even though it should not
227227
* Fixed issue with path repositories when trying to install feature branches
228228

@@ -523,7 +523,7 @@
523523
* Fixed dist downloads from Bitbucket
524524
* Fixed some regressions related to xdebug disabling
525525
* Fixed `--minor-only` flag in `outdated` command
526-
* Fixed handling of config.platform.php which did not replace other php-* package's versions
526+
* Fixed handling of config.platform.php which did not replace other php-\* package's versions
527527

528528
### [1.3.0] - 2016-12-24
529529

@@ -945,7 +945,7 @@
945945
* Added a recommendation for package names to be `lower-cased/with-dashes`, it will be enforced for new packages on Pacakgist
946946
* Added `require` command to add a package to your requirements and install it
947947
* Added a whitelist to `update`. Calling `composer update foo/bar foo/baz` allows you to update only those packages
948-
* Added support for overriding repositories in the system config (define repositories in ~/.composer/config.json)
948+
* Added support for overriding repositories in the system config (define repositories in `~/.composer/config.json`)
949949
* Added `lib-*` packages to the platform repository, e.g. `lib-pcre` contains the pcre version
950950
* Added caching of GitHub metadata (faster startup time with custom GitHub VCS repos)
951951
* Added caching of SVN metadata (faster startup time with custom SVN VCS repos)

‎UPGRADE-2.0.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- The new platform-check feature means that Composer checks the runtime PHP version and available extensions to ensure they match the project dependencies. If a mismatch is found, it exits with error details to make sure problems are not overlooked. To avoid issues when deploying to production it is recommended to run `composer check-platform-reqs` with the production PHP process as part of your build or deployment process.
66
- If a package exists in a higher priority repository, it will now be entirely ignored in lower priority repositories. See [repository priorities](https://getcomposer.org/repoprio) for details.
77
- Invalid PSR-0 / PSR-4 class configurations will not autoload anymore in optimized-autoloader mode, as per the warnings introduced in 1.10
8-
- On linux systems supporting the XDG Base Directory Specification, Composer will now prefer using XDG_CONFIG_DIR/composer over ~/.composer if both are available (1.x used ~/.composer first)
8+
- On linux systems supporting the XDG Base Directory Specification, Composer will now prefer using XDG_CONFIG_DIR/composer over `~/.composer` if both are available (1.x used `~/.composer` first)
99
- Package names now must comply to our [naming guidelines](doc/04-schema.md#name) or Composer will abort, as per the warnings introduced in 1.8.1
1010
- Deprecated --no-suggest flag as it is not needed anymore
1111
- PEAR support (repository, downloader, etc.) has been removed
@@ -55,7 +55,7 @@
5555
#### Composer v1
5656

5757
- Composer resolves dependencies (dispatching PRE/POST_DEPENDENCIES_SOLVING)
58-
- It then iterates over all packages one by one (dispatching PRE_PACKAGE_INSTALL/UPDATE/UNINSTALL, then PRE_FILE_DOWNLOAD if needed, then POST_PACKAGE_*)
58+
- It then iterates over all packages one by one (dispatching PRE_PACKAGE_INSTALL/UPDATE/UNINSTALL, then PRE_FILE_DOWNLOAD if needed, then POST_PACKAGE_\*)
5959
- And finally writes the lock file at the end
6060

6161
#### Composer v2
@@ -71,7 +71,7 @@ Install then does:
7171

7272
- Dispatches PRE_OPERATIONS_EXEC with the full list of operations to be executed
7373
- Downloads all the packages not in cache yet in parallel (dispatching PRE_FILE_DOWNLOAD for those not in cache yet)
74-
- It then iterates over all packages and executes updates/installs/uninstalls in parallel (dispatching PRE_PACKAGE_INSTALL/UPDATE/UNINSTALL then POST_PACKAGE_* but one package started last may finish installing before another is done for example).
74+
- It then iterates over all packages and executes updates/installs/uninstalls in parallel (dispatching PRE_PACKAGE_INSTALL/UPDATE/UNINSTALL then POST_PACKAGE_\* but one package started last may finish installing before another is done for example).
7575

7676
## For Composer repository implementors
7777

‎doc/03-cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ including their current and latest versions. This is basically an alias for
433433
The color coding is as such:
434434

435435
- **green (=)**: Dependency is in the latest version and is up to date.
436-
- **yellow (~)**: Dependency has a new version available that includes backwards compatibility breaks according to semver, so upgrade when
436+
- **yellow (\~)**: Dependency has a new version available that includes backwards compatibility breaks according to semver, so upgrade when
437437
you can but it may involve work.
438438
- **red (!)**: Dependency has a new version that is semver-compatible and you should upgrade it.
439439

@@ -658,7 +658,7 @@ See the [Config](06-config.md) chapter for valid configuration options.
658658
option this lists the global configuration only.
659659
* **--file="..." (-f):** Operate on a specific file instead of composer.json. Note
660660
that this cannot be used in conjunction with the `--global` option.
661-
* **--absolute:** Returns absolute paths when fetching *-dir config values
661+
* **--absolute:** Returns absolute paths when fetching \*-dir config values
662662
instead of relative.
663663
* **--json:** JSON decode the setting value, to be used with `extra.*` keys.
664664
* **--merge:** Merge the setting value with the current value, to be used with `extra.*` keys in combination with `--json`.

‎doc/05-repositories.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ variables are parsed in both Windows and Linux/Mac notations. For example
621621
`/home/<username>/git/mypackage`, equivalent to `$HOME/git/mypackage` or
622622
`%USERPROFILE%/git/mypackage`.
623623

624-
> **Note:** Repository paths can also contain wildcards like ``*`` and ``?``.
624+
> **Note:** Repository paths can also contain wildcards like `*` and `?`.
625625
> For details, see the [PHP glob function](https://php.net/glob).
626626
627627
## Disabling Packagist.org

‎doc/articles/authentication-for-private-packages.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ section or directly in the repository definition.
102102

103103
> **Note:** Using the command line environment variable method also has security implications.
104104
> These credentials will most likely be stored in memory,
105-
> and on be persisted to a file like ```~/.bash_history```(linux) or ```ConsoleHost_history.txt```
105+
> and on be persisted to a file like `~/.bash_history`(linux) or `ConsoleHost_history.txt`
106106
> (PowerShell on Windows) when closing a session.
107107
108-
The final option to supply Composer with credentials is to use the ```COMPOSER_AUTH``` environment variable.
108+
The final option to supply Composer with credentials is to use the `COMPOSER_AUTH` environment variable.
109109
These variables can be either passed as command line variables or set in actual environment variables.
110110
Read more about the usage of this environment variable [here](../03-cli.md#COMPOSER_AUTH).
111111

@@ -221,7 +221,7 @@ composer config [--global] --editor --auth
221221
> **Note:** For the gitlab authentication to work on private gitlab instances, the
222222
> [`gitlab-domains`](../06-config.md#gitlab-domains) section should also contain the url.
223223
224-
When creating a gitlab token manually, make sure it has either the ```read_api``` or ```api``` scope.
224+
When creating a gitlab token manually, make sure it has either the `read_api` or `api` scope.
225225

226226
### Command line gitlab-token
227227

@@ -245,7 +245,7 @@ composer config [--global] --editor --auth
245245

246246
## github-oauth
247247

248-
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, the ```public_repo``` scope is required, for private repositories the ```repo:status``` scope is needed.
248+
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, the `public_repo` scope is required, for private repositories the `repo:status` scope is needed.
249249
Read more about it [here](https://github.com/blog/1509-personal-api-tokens).
250250

251251
### Command line github-oauth

‎doc/articles/versions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ with a wildcard. For example `1.0 - 2.0` is equivalent to `>=1.0.0 <2.1` as the
126126

127127
Example: `1.0 - 2.0`
128128

129-
### Wildcard Version Range (.*)
129+
### Wildcard Version Range (.\*)
130130

131131
You can specify a pattern with a `*` wildcard. `1.0.*` is the equivalent of
132132
`>=1.0 <1.1`.
@@ -135,7 +135,7 @@ Example: `1.0.*`
135135

136136
## Next Significant Release Operators
137137

138-
### Tilde Version Range (~)
138+
### Tilde Version Range (\~)
139139

140140
The `~` operator is best explained by example: `~1.2` is equivalent to
141141
`>=1.2 <2.0.0`, while `~1.2.3` is equivalent to `>=1.2.3 <1.3.0`. As you can see

‎doc/fixtures/fixtures.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ also be used as (initial) fixtures for tests.
1313
All these repositories contain the following packages.
1414

1515
* `foo/bar` versions 1.0.0, 1.0.1 and 1.1.0; dev-default and 1.0.x-dev branches.
16-
On dev-default and in 1.1.0, `bar/baz` ~1.0 is required.
16+
On dev-default and in 1.1.0, `bar/baz` \~1.0 is required.
1717
* `qux/quux` only has a dev-default branch. It `replace`s `gar/nix`.
1818
* `gar/nix` has a 1.0.0 version and a dev-default branch. It is being replaced
1919
by `qux/quux`.
2020
* `bar/baz` has a 1.0.0 version and 1.0.x-dev as well as dev-default branches.
2121
Additionally, 1.1.x-dev is a branch alias for dev-default.
22-

0 commit comments

Comments
 (0)
Please sign in to comment.