apeschar/php-cs-fixer 问题修复 & 功能扩展

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

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

apeschar/php-cs-fixer

最新稳定版本:3.0

Composer 安装命令:

composer require apeschar/php-cs-fixer

包简介

README 文档

README

This is to keep my rules for PHP-CS-Fixer in one place, so that changing them affects all projects.

It also uses git ls-files '*.php' to list target files instead of Symfony's finder. This is much faster and automatically avoids files that are not versioned.

Installation

Install PHP-CS-Fixer and this package in a subdirectory of your project:

mkdir -p tools/php-cs-fixer
composer --working-dir=tools/php-cs-fixer \
    require friendsofphp/php-cs-fixer apeschar/php-cs-fixer

Initialize the .php-cs-fixer.dist.php:

cat > .php-cs-fixer.dist.php <<EOF
<?php
use Kibo\PhpCsFixer\Factory;
return (new Factory(__DIR__))->config();
EOF

Run php-cs-fixer:

tools/php-cs-fixer/vendor/bin/php-cs-fixer fix

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-13