From 4246a6f58a3ebf3f478fb6e1ab174aae6490eba5 Mon Sep 17 00:00:00 2001 From: hirokinoue <70567194+hirokinoue@users.noreply.github.com> Date: Wed, 28 Feb 2024 01:22:26 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20README=E3=81=ABConfig=E3=81=AE?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=82=92=E5=8F=8D=E6=98=A0=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f642f37..32923d7 100644 --- a/README.md +++ b/README.md @@ -30,18 +30,23 @@ Add a `config.php`, `config.php.dist` or `config.dist.php` to the directory from '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' => [ + '', ], ]; ```