定制 quant/phpstan 二次开发

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

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

quant/phpstan

最新稳定版本:1.0

Composer 安装命令:

composer require quant/phpstan

包简介

phpstan extensions for quant

README 文档

README

phpstan extensions for quant.

Installation

The extension is already available with quant/quant.

To register this extension with your project, use

$ composer require --dev phpstan/extension-installer && \
  composer require --dev quant/phpstan

This should automatically register the extension with your phpstan installation:

includes:
	- vendor/quant/phpstan

Documentation

quant/phpstan provides support for properly analysing classes that use getter / setter automation with the help of Quant\Core\Trait\AccessorTrait.

#[Getter]
#[Setter(Modifier::PROTECTED)]
class A
{
    private string $value;
}

will register with availability of A:

@method A setValue(string $value)
@method string getValue() 

Modifiers are considered: setValue() will be registered with protected access in this case.

Resources

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-17