Skip to content

Commit

Permalink
chore: READMEにConfigの変更を反映する
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokinoue committed Feb 27, 2024
1 parent 670fa13 commit 4246a6f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,23 @@ Add a `config.php`, `config.php.dist` or `config.dist.php` to the directory from
<?php declare(strict_types=1);
return $config = [
'memoryLimit' => '1024M',
'maxDepth' => 5,
// Specify a part of a namespace to exclude classes from the analysis.
// For example, when dependencies of third-party packages are not wanted to be analyzed.
// Classes starting with the given namespace will not be analyzed and classes they depend on will not.
// Note that if A depends on B and C, and B depends on C, and B is excluded,
// the dependence from A to C will be shown, but the dependence from B to C will not be shown.
'endOfAnalysis' => [
'Foo\\',
'PhpParser\\',
],
// Specify a part of a namespace.
// Classes starting with the given namespace will not be analyzed.
'excludeFromAnalysis' => [
'Foo\Bar\\',
'PhpParser\Node\\',
],
// Specify the relative path from the directory where the application is executed.
'excludeFilePath' => [
'',
],
];
```
Expand Down

0 comments on commit 4246a6f

Please sign in to comment.