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

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

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

theofidry/php-cs-fixer-config

Composer 安装命令:

composer require theofidry/php-cs-fixer-config

包简介

The PHP-CS-Fixer default config for my projects

README 文档

README

My personal PHP-CS-Fixer base configuration.

Installation

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

Usage

<?php // php-cs-fixer.dist.php

declare(strict_types=1);

use Fidry\PhpCsFixerConfig\FidryConfig;
use PhpCsFixer\Finder;

$finder = // Configure Finder here as usual;

// Here use the specific config.
$config = new FidryConfig(
    // The header comment used
    <<<'EOF'
        This file is part of the Fidry PHP-CS-Fixer Config package.

        (c) Théo FIDRY <theo.fidry@gmail.com>

        For the full copyright and license information, please view the LICENSE
        file that was distributed with this source code.
        EOF,
    // The min PHP version supported (best to align with your composer.json)
    72000,
);

// You can further configure the $config here, to add or override some rules. 
$config->addRules([
    // ...
]);

return $config->setFinder($finder);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固