mmcev106/psalm-playground-plugins
Composer 安装命令:
composer require mmcev106/psalm-playground-plugins
包简介
A tool for learning how to write Psalm plugins
README 文档
README
These Psalm plugins aim to provide a playground that makes it easy to learn more about how to create Psalm plugins. By default they print each location analyzed by Psalm, and can be modified to quickly test the result of any desired action in any of Psalm's API interfaces.
To see these plugins in action:
- Clone this repo
- Run
composer install - Run
psalm --no-cacheto see a trace ofexample.phpincluding lines & positions from which each of Psalm's API events are fired - Modify these plugins to learn whatever you like! Suggestions include but are not limited to...
- Include your own code in
example.phpto learn more about how Psalm steps through it - Modify these plugins to perform any action you like to aid in learning how to write your own plugins
- Include these plugins in your own projects to see how Psalm steps through them
- Modify these plugins in your own projects to only show traces and/or perform actions relevant to your own goals
- Use the
static::dump()method to get details about any Psalm class.
- Include your own code in
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-22