eve/coding-standard 问题修复 & 功能扩展

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

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

eve/coding-standard

Composer 安装命令:

composer require eve/coding-standard

包简介

eve's coding standard, built on top of slevomat/coding-standard

README 文档

README

eve's coding standard for PHP CodeSniffer, built on top of slevomat/coding-standard. Intended to be used for Laravel-based projects.

Installation

Require the package with Composer:

composer require --dev eve/coding-standard

Usage

  1. In your ruleset.xml, add a rule referencing the package's included rule set:

    <?xml version="1.0"?>
    <ruleset name="My Awesome Standards">
        <rule ref="./vendor/eve/coding-standard/ruleset.xml"/>
    
        <!-- add extra configurations if necessary -->
        <file>./app</file>
        <file>./bootstrap</file>
        <file>./config</file>
        <file>./database</file>
        <file>./routes</file>
        <file>./tests</file>
    </ruleset>
  2. Use it!

    # check for violations
    composer phpcs --standard=ruleset.xml
    
    # fix the violations if applicable
    composer phpcbf --standard=ruleset.xml 

License

MIT of course.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固