定制 mmcev106/psalm-playground-plugins 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  1. Clone this repo
  2. Run composer install
  3. Run psalm --no-cache to see a trace of example.php including lines & positions from which each of Psalm's API events are fired
  4. Modify these plugins to learn whatever you like! Suggestions include but are not limited to...
    • Include your own code in example.php to 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.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-22