mouf/codestylefixservice

自动修复代码风格

安装: 90

依赖者: 1

建议者: 0

安全: 0

星标: 0

关注者: 8

分支: 1

类型:mouf-library

1.0.x-dev 2016-04-21 16:44 UTC

This package is auto-updated.

Last update: 2024-09-15 05:34:02 UTC


README

TheCodingMachine

描述

此包简化了从PHP代码中使用PhpCsFixer的过程;更多信息请参阅PHP-CS-Fixer文档

安装

添加到 ./composer.json 文件

"require": {
    "mouf/codestylefixservice"
  }

或者

composer install mouf/codestylefixservice

使用方法

$fixService = new FixService();
$fixService->csFix("MyPhpFile.php"); // add the path to file you want to auto-clean