@@ -6,19 +6,19 @@ Thank you for your interest in contributing to PHP_CodeSniffer!
6
6
## Table of Contents
7
7
8
8
* [ 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 )
11
11
* [ 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 )
16
16
* [ 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 )
22
22
* [ Licensing] ( #licensing )
23
23
24
24
@@ -255,9 +255,9 @@ For example, for the sniff named `Generic.NamingConventions.ConstructorName`:
255
255
* The sniff lives in the ` src/Standards/Generic/Sniffs/NamingConventions/ ` directory.
256
256
* The tests live in the ` src/Standards/Generic/Tests/NamingConventions/ ` directory.
257
257
* 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
259
259
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,
261
261
` getErrorList() ` and ` getWarningList() ` , which should each return an array with as the keys the line number
262
262
in the test _ case_ file and as the values the number of errors or warnings which are expected on each line.
263
263
Only lines on which errors/warnings are expected need to be included in the lists. All other lines will automatically
0 commit comments