jparkinson1991/phpcodesniffer-standards 问题修复 & 功能扩展

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

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

jparkinson1991/phpcodesniffer-standards

最新稳定版本:1.4.0

Composer 安装命令:

composer require jparkinson1991/phpcodesniffer-standards

包简介

Custom PHP_Codesniffer standards

README 文档

README

This package provides custom and adapted coding standards for use with squizlabs/PHP_CodeSniffer

Coding Standards

The following standards are provided by this package

JPSR-12

An adaptation of the PSR-12 coding standard with some minor tweaks. View Documentation

Getting Started

Using the standards provided by this package is a simple as using composer to require within your project.

Prerequisites

This package requires squizlabs/php_codesniffer ^3.0 if you are using an older version of PHP_CodeSniffer you will not be able to install these standards.

Installing

This package is built on top of dealerdirect/phpcodesniffer-composer-installer so installation is as simple as

$ composer require jparkinson1991/phpcodesniffer-standards

After requiring this package in your project it will be installed and available for use with PHP_CodeSniffer

$ ./vendor/bin/phpcs -i
The installed coding standards are PEAR, Zend, PSR2, MySource, Squiz, PSR1, PSR12 and JPSR12

Usage

Use the standards provided by this package in the exact same way you would use the defaults provided by PHP_Codesniffer. Using JPSR12 as an example.

$ ./vendor/bin/phpcs --standard JPSR12
// phpcs.xml
<rule ref="JPSR12"/>

Versioning

SemVer is used for versioning. For the versions available, see the tags on this repository.

Authors

  • Josh Parkinson - Hacking and slashing

License

This project is licensed under the GNU GPLv3 License - see the LICENSE file for details

Acknowledgments

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2020-05-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固