Skip to content

Commit f199b60

Browse files
committed
Docs: various textual tweaks
... picked up along the way.
1 parent d84144d commit f199b60

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Files/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ public function addErrorOnLine(
755755

756756

757757
/**
758-
* Records a warning against a specific token in the file.
758+
* Records a warning against a specific line in the file.
759759
*
760760
* @param string $warning The error message.
761761
* @param int $line The line on which the warning occurred.

src/Reports/Info.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function generateFileReport($report, File $phpcsFile, $showSources=false,
4545

4646

4747
/**
48-
* Prints the source of all errors and warnings.
48+
* Prints the recorded metrics.
4949
*
5050
* @param string $cachedData Any partial report data that was returned from
5151
* generateFileReport during the run.

tests/Core/Config/ReportWidthTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function resetConfig()
5656

5757
/**
5858
* Reset the static properties in the Config class to their true defaults to prevent this class
59-
* from unfluencing other tests.
59+
* from influencing other tests.
6060
*
6161
* @afterClass
6262
*
@@ -287,7 +287,7 @@ public function dataReportWidthInputHandling()
287287
* Helper function to set a static property on the Config class.
288288
*
289289
* @param string $name The name of the property to set.
290-
* @param mixed $value The value to set the propert to.
290+
* @param mixed $value The value to set the property to.
291291
*
292292
* @return void
293293
*/

0 commit comments

Comments
 (0)