mediawiki/phan-utils 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mediawiki/phan-utils

Composer 安装命令:

composer require mediawiki/phan-utils

包简介

Utilities for phan to be used in plugins, originally developed for taint-check-plugin

README 文档

README

This repo contains some utilities that can be used when developing Phan plugins. This code was originally written as part of MediaWiki's taint-check.

Install

$ `composer require mediawiki/phan-utils`

Usage

Add use MediaWikiPhanUtils\MediaWikiPhanUtils to the visitor class. Note that the implementing class MUST have the following properties:

/**
 * @property \Phan\Language\Context $context
 * @property \Phan\CodeBase $code_base
 */

Additionally, the class SHOULD implement the following method:

protected function getLogChannel() : string

to specify the name of the channel used in debug logs.

Environment variables

You can use the PHAN_DEBUG variable to print debug information. The variable can take the name of a file (if running from shell, /dev/stderr is convenient), or - for stdout.

License

GNU General Public License, version 2 or later

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2020-05-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固