定制 assoconnect/php-quality-config 二次开发

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

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

assoconnect/php-quality-config

最新稳定版本:v1.16.0

Composer 安装命令:

composer require assoconnect/php-quality-config

包简介

README 文档

README

Build Status Quality Gate Status

Installation

composer require --dev assoconnect/php-quality-config

In rector, you can use the ruleset:

return RectorConfig::configure()
    ->withSets([
        __DIR__ . '/vendor/assoconnect/php-quality-config/src/Rector/rules.php',
    ])

PHPStan

Including in this package

  • EnforceHttpsLinksRule to ban insecure links containing http: in string scalars and PHPDoc blocks
  • ForbidIdenticalClassComparisonRule to ban strict comparison of objects
  • DateTimeMustNotBeUsedRule to ban the usage of DateTime and enforce the use of DateTimeImmutable for safer and more predictable date handling

From other packages

  • phpstan/phpstan-phpunit
  • phpstan/phpstan-strict-rules
  • phpstan/phpstan-webmozart-assert
  • roave/no-floaters
  • shipmonk/phpstan-rules
  • thecodingmachine/phpstan-strict-rules

PHPCS / Code Style

Including in this package

  • PSR-12 coding standard

From other packages

  • SlevomatCodingStandard.Namespaces.UnusedUses

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-12-11