承接 broadway/coding-standard 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

broadway/coding-standard

最新稳定版本:1.2.1

Composer 安装命令:

composer require broadway/coding-standard

包简介

The coding standard of the Broadway project.

README 文档

README

The coding standard of the Broadway project.

build status

Installation

$ composer require --dev broadway/coding-standard

Configuration

PHP CS fixer

  1. create a .php-cs-fixer.php file referencing the .php-cs-fixer.dist.php template:
# .php-cs-fixer.php

<?php

$config = require 'vendor/broadway/coding-standard/.php-cs-fixer.dist.php';

$config->setFinder(
    \PhpCsFixer\Finder::create()
        ->in([
            __DIR__ . '/src',
            __DIR__ . '/test',
        ])
);

return $config;
  1. add .php_cs.cache to your .gitignore.

docheader

  1. copy the .docheader.dist template:
cp vendor/broadway/coding-standard/.docheader.dist ./.docheader
  1. modify the .docheader file is necessary.

Usage

$ vendor/bin/php-cs-fixer fix --allow-risky=yes --diff --verbose
$ vendor/bin/docheader check {src,test}

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 1
  • 开发语言: Makefile

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-06-16