stella-maris/callmap
最新稳定版本:0.1.0
Composer 安装命令:
composer require --dev stella-maris/callmap
包简介
PHPStan Plugin to collect method-calls for further processing
关键字:
README 文档
README
Map method and function calls to the methods or functions in which they happen.
Purpose
This allows to create a mapping file that can be used to generate an overview of which method is called where.
Whether that is to generate a graphical overview or to check which Namespace boundaries are crossed is a separate topic then.
The package itself is a plugin to pPHPStan.
Installation
Install via composer
composer require --dev stella-maris/callmap
Usage
Run via PHPStan
./vendor/bin/phpstan analyse -c vendor/stella-maris/callmap/callmap.neon <path/to/your/sources>
This will create a JSON containing an array of objects that can be used to create a map of method-calls
The Objects contain these attributes:
- callingClass
- callingMethod
- calledClass
- calledMethod
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2023-09-24