marc-mabe/php-enum-phpstan 问题修复 & 功能扩展

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

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

marc-mabe/php-enum-phpstan

最新稳定版本:v3.0.0

Composer 安装命令:

composer require marc-mabe/php-enum-phpstan

包简介

Enum class reflection extension for PHPStan

README 文档

README

License Latest Stable

PHP-Enum enumerations with native PHP.

PHPStan is a static code analysis tool.

PHPStan focuses on finding errors in your code without actually running it. It catches whole classes of bugs even before you write tests for the code. It moves PHP closer to compiled languages in the sense that the correctness of each line of the code can be checked before you run the actual line.

This PHPStan extension makes enumerator accessor methods and enum possible values known to PHPStan.

Install

Install via Composer

composer require --dev marc-mabe/php-enum-phpstan

and include extension.neon in your project's PHPStan config

includes:
  - vendor/marc-mabe/php-enum-phpstan/extension.neon

统计信息

  • 总下载量: 706.99k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 13
  • 点击次数: 10
  • 依赖项目数: 6
  • 推荐数: 0

GitHub 信息

  • Stars: 13
  • Watchers: 2
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-01-07