承接 selrahcd/phpstan-rules 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

selrahcd/phpstan-rules

Composer 安装命令:

composer require selrahcd/phpstan-rules

包简介

Set of PHPStan rules

README 文档

README

A set of useful PHPStan rules

Installation

To use this extension, require it in Composer:

composer require --dev selrahcd/phpstan-rules

If you also install phpstan/extension-installer then you're all set!

Manual installation

If you don't want to use phpstan/extension-installer, include extension.neon in your project's PHPStan config:

includes:
    - vendor/phpstan/phpstan-mockery/extension.neon

Rules

DisallowIsArrayFunctionCall

A rule that prevents from using \is_array.

CountFuncCallUsage

A configurable rule that prevents from using more function calls than we already do.

Configure:

parameters:
    watched_funcCalls:
        watched:
            '\is_array': 4

Will warn you if you start using more than 4 calls to \is_array. You can add as many functions to watch as you want.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固