定制 publiq/php-cs-fixer-config 二次开发

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

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

publiq/php-cs-fixer-config

最新稳定版本:v2.1

Composer 安装命令:

composer require publiq/php-cs-fixer-config

包简介

Configuration for PHP Coding Standards Fixer to be used on all PHP projects at Publiq

README 文档

README

Installation

Add this library as a dev dependency to your project

composer require --dev publiq/php-cs-fixer-config

Add the following to the .php_cs file in the root of your repository and modify based on your application.

<?php
return Publiq\PhpCsFixer\Config::fromFolders(
    [
        'src/',
        'test/',
    ]
);

You can add the following to your composer file for ease of use

"scripts": {
  "cs": "php-cs-fixer fix -v --diff --dry-run",
  "cs-fix": "php-cs-fixer fix -v --diff"
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2021-02-25