Skip to content

Commit 1c10198

Browse files
committed
QA/Markdown CS: use consistent list styles
* Use the same list markers throughout each document. * Use consistent sublist indentation: each level should be indented by four spaces.
1 parent 7439720 commit 1c10198

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.github/CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ Thank you for your interest in contributing to PHP_CodeSniffer!
66
## Table of Contents
77

88
* [Reporting Bugs](#reporting-bugs)
9-
- [Reporting Security Issues](#reporting-security-issues)
10-
- [Support/Questions About Using PHP_CodeSniffer](#supportquestions-about-using-php_codesniffer)
9+
* [Reporting Security Issues](#reporting-security-issues)
10+
* [Support/Questions About Using PHP_CodeSniffer](#supportquestions-about-using-php_codesniffer)
1111
* [Contributing Without Writing Code](#contributing-without-writing-code)
12-
- [Bug Triage](#bug-triage)
13-
- [Testing Open Pull Requests](#testing-open-pull-requests)
14-
- [Writing sniff documentation](#writing-sniff-documentation)
15-
- [Other tasks](#other-tasks)
12+
* [Bug Triage](#bug-triage)
13+
* [Testing Open Pull Requests](#testing-open-pull-requests)
14+
* [Writing sniff documentation](#writing-sniff-documentation)
15+
* [Other tasks](#other-tasks)
1616
* [Contributing With Code](#contributing-with-code)
17-
- [Requesting/Submitting New Features](#requestingsubmitting-new-features)
18-
- [Getting started](#getting-started)
19-
- [While working on a patch](#while-working-on-a-patch)
20-
- [Writing tests](#writing-tests)
21-
- [Submitting your pull request](#submitting-your-pull-request)
17+
* [Requesting/Submitting New Features](#requestingsubmitting-new-features)
18+
* [Getting started](#getting-started)
19+
* [While working on a patch](#while-working-on-a-patch)
20+
* [Writing tests](#writing-tests)
21+
* [Submitting your pull request](#submitting-your-pull-request)
2222
* [Licensing](#licensing)
2323

2424

@@ -255,9 +255,9 @@ For example, for the sniff named `Generic.NamingConventions.ConstructorName`:
255255
* The sniff lives in the `src/Standards/Generic/Sniffs/NamingConventions/` directory.
256256
* The tests live in the `src/Standards/Generic/Tests/NamingConventions/` directory.
257257
* The tests consist of two files:
258-
- `src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.inc` which is the test _case_ file containing
258+
* `src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.inc` which is the test _case_ file containing
259259
code for the sniff to analyse.
260-
- `src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php` which is the test file, containing two methods,
260+
* `src/Standards/Generic/Tests/NamingConventions/ConstructorNameUnitTest.php` which is the test file, containing two methods,
261261
`getErrorList()` and `getWarningList()`, which should each return an array with as the keys the line number
262262
in the test _case_ file and as the values the number of errors or warnings which are expected on each line.
263263
Only lines on which errors/warnings are expected need to be included in the lists. All other lines will automatically

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,9 +2457,9 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
24572457
- This release includes a change to support newer versions of PHPUnit (versions 4, 5, and 6 are now supported)
24582458
- The custom PHP_CodeSniffer test runner now requires a bootstrap file
24592459
- Developers with custom standards using the PHP_CodeSniffer test runner will need to do one of the following:
2460-
- run your unit tests from the PHP_CodeSniffer root dir so the bootstrap file is included
2461-
- specify the PHP_CodeSniffer bootstrap file on the command line: phpunit --bootstrap=/path/to/phpcs/tests/bootstrap.php
2462-
- require the PHP_CodeSniffer bootstrap file from your own bootstrap file
2460+
- run your unit tests from the PHP_CodeSniffer root dir so the bootstrap file is included
2461+
- specify the PHP_CodeSniffer bootstrap file on the command line: phpunit --bootstrap=/path/to/phpcs/tests/bootstrap.php
2462+
- require the PHP_CodeSniffer bootstrap file from your own bootstrap file
24632463
- If you don't run PHP_CodeSniffer unit tests, this change will not affect you
24642464
- Thanks to [Juliette Reinders Folmer][@jrfnl] for the patch
24652465
- A phpcs.xml or phpcs.xml.dist file now takes precedence over the default_standard config setting
@@ -3179,7 +3179,7 @@ Additionally, thanks to [Alexander Turek][@derrabus] for consulting on the repo
31793179
- Improved the formatting of the end brace when auto fixing InlineControlStructure errors (request [#1121][sq-1121])
31803180
- Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine fix no longer leaves blank line after brace (request [#1085][sq-1085])
31813181
- Generic UpperCaseConstantNameSniff now allows lowercase namespaces in constant definitions
3182-
- Thanks to [Daniel Schniepp][@dschniepp] for the patch
3182+
- Thanks to [Daniel Schniepp][@dschniepp] for the patch
31833183
- Squiz DoubleQuoteUsageSniff is now more tolerant of syntax errors caused by mismatched string tokens
31843184
- A few sniffs that produce errors based on the current PHP version can now be told to run using a specific PHP version
31853185
- Set the php_version config var using --config-set, --runtime-set, or in a ruleset to specify a specific PHP version

0 commit comments

Comments
 (0)