mhujer/phpstan-consistence 问题修复 & 功能扩展

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

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

mhujer/phpstan-consistence

最新稳定版本:1.0

Composer 安装命令:

composer require mhujer/phpstan-consistence

包简介

Custom PHPStan Rules for Consistence library

README 文档

README

Build Status Coverage Status Latest Stable Version License

This repository provides following custom PHPStan rules for Consistence library

  • Check that no class extends \Consistence\ObjectPrototype or uses \Consistence\Type\ObjectMixinTrait somewhere in its hierarchy tree. The type of errors it prevents is caught by PHPStan so there is no need to extend/use anymore.
  • Check that Consistence function wrappers (from ArrayType) are used for array manipulation

Usage

To use those rules, require them in Composer:

composer require --dev mhujer/phpstan-consistence

And include them in your project's PHPStan config:

includes:
    - vendor/mhujer/phpstan-consistence/rules.neon

统计信息

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

GitHub 信息

  • Stars: 7
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-12-24