Skip to content

Commit ff7a908

Browse files
authored
Merge pull request #974 from PHPCSStandards/phpcs-4.0/feature/6-abstractpatternsniff-remove-deprecated-param
AbstractPatternSniff::__construct(): remove the $ignoreComments property
2 parents 2036590 + c38e7e4 commit ff7a908

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Sniffs/AbstractPatternSniff.php

+1-8
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,9 @@ abstract class AbstractPatternSniff implements Sniff
5757

5858
/**
5959
* Constructs a AbstractPatternSniff.
60-
*
61-
* @param boolean $ignoreComments If true, comments will be ignored.
6260
*/
63-
public function __construct($ignoreComments=null)
61+
public function __construct()
6462
{
65-
// This is here for backwards compatibility.
66-
if ($ignoreComments !== null) {
67-
$this->ignoreComments = $ignoreComments;
68-
}
69-
7063
$this->supplementaryTokens = $this->registerSupplementary();
7164

7265
}//end __construct()

0 commit comments

Comments
 (0)