Skip to content

Commit 71f6553

Browse files
committed
Move comments to property description
1 parent 330416d commit 71f6553

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

config/common.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@
5757
},
5858
FilesystemStreamCollector::class => [
5959
'__construct()' => [
60-
'ignoredPathPatterns' => [
61-
//'/ClosureExporter/',
62-
//'/UseStatementParser/',
63-
//'/' . preg_quote('yii-debug/src/Dumper', '/') . '/',
64-
],
60+
'ignoredPathPatterns' => [],
6561
'ignoredClasses' => [
6662
ClosureExporter::class,
6763
UseStatementParser::class,

src/Collector/FilesystemStreamCollector.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,16 @@ final class FilesystemStreamCollector implements CollectorInterface, IndexCollec
88
{
99
use CollectorTrait;
1010

11-
public function __construct(private array $ignoredPathPatterns = [], private array $ignoredClasses = [])
11+
public function __construct(
12+
/**
13+
* Collection of regexps to ignore files sources to sniff.
14+
* Examples:
15+
* - '/' . preg_quote('yii-debug/src/Dumper', '/') . '/'
16+
* - '/ClosureExporter/'
17+
*/
18+
private array $ignoredPathPatterns = [],
19+
private array $ignoredClasses = [],
20+
)
1221
{
1322
}
1423

0 commit comments

Comments
 (0)