定制 legalthings/php-code-quality 二次开发

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

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

legalthings/php-code-quality

最新稳定版本:v0.1.2

Composer 安装命令:

composer require legalthings/php-code-quality

包简介

Quality assurance toolchain

README 文档

README

Coding standard

Please read the Legal Things PHP coding standard.

Installation

All PHP projects of Legal Things should include this package. It can be installed through composer.

composer require --dev legalthings/php-code-quality

Toolchain

Codeception

Codeception is BDD-style PHP testing build on PHPUnit. It supports Unit testing, API testing and Acceptance testing.

bin/codecept

vfsStream

vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system.

PHP_CodeSniffer

phpcs tokenises PHP files and detects violations of a defined set of coding standards. It is an essential development tool that ensures your code remains clean and consistent. This package comes with a custom ruleset which embodies the Legal Things PHP coding standard.

bin/phpcs . --standard=vendor/legalthings/php-code-quality --ignore=/bin/,/vendor/,/tests/

Versions

Always use sementic versioning. With projects, the continues integration will automatically update patch version. When introducing a new feature or deprecating something you should update the minor version in composer.json.

Do not introduce large changes or new features, while breaking backwards compatibility. For a new major version, only cleanup tasks, specifically removing deprecated code, should be done. Manually update the major version in composer.json.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-12