定制 kronostechnologies/php-coding-standard 二次开发

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

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

kronostechnologies/php-coding-standard

最新稳定版本:v2.1.0

Composer 安装命令:

composer require kronostechnologies/php-coding-standard

包简介

Equisoft PHP coding standard

README 文档

README

Linting with PHP Code Sniffer

  1. Install Code Sniffer: composer require --dev squizlabs/php_codesniffer
  2. Install the Equisoft ruleset: composer require --dev kronostechnologies/php-code-standard
  3. Add a phpcs.xml file at the root of your project:
    <?xml version="1.0"?>
    <ruleset>
        <rule ref="./vendor/kronostechnologies/php-coding-standard/phpcs.xml"/>
    </ruleset>
  4. Add an entry in your Makefile:
    check: phpcs
    
    phpcs:
    	./vendor/bin/phpcs --standard="./phpcs.xml" -p -s .
  5. Configure CircleCI with the phpcs Orb Orb

Building & Publishing

Apply your changes, merge in master branch, then execute the following commands from the root:

# Mirrors php-coding-standard repository in kronostechnologies/php-coding-standard
./bin/split.sh

# Push tag to kronostechnologies/php-coding-standard
./bin/release.sh v(MAJOR.MINOR.PATCH)

To get the latest tag without opening the php-coding-standard repository, checkout the file .tag.

Follow Semantic Versioning.

Afterwards, it is automatically published through packagist.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固