承接 gd-75/php-cs-fixer-enforce-double-quotes 相关项目开发

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

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

gd-75/php-cs-fixer-enforce-double-quotes

Composer 安装命令:

composer require gd-75/php-cs-fixer-enforce-double-quotes

包简介

A rule for PHP CS Fixer to enforce double quotes.

README 文档

README

gd-75/php-cs-fixer-enforce-double-quotes

php-cs-fixer-enforce-double-quotes

A rule for PHP CS Fixer to enforce double quotes.

Installation and usage

composer require --dev gd-75/php-cs-fixer-enforce-double-quotes

In your PHP CS Fixer configuration, add:

use GD75\DoubleQuoteFixer\DoubleQuoteFixer;
use PhpCsFixer\Config;

$config = new Config();

$config
    ->registerCustomFixers(
        [
            new DoubleQuoteFixer()
        ]
    )
    ->setRules(
        [
            "GD75/double_quote_fixer" => true,
        ]
    );

Warning

Before auto-fixing quotes on your project, please run a dry-run with diffs to make sure the fixer works correctly.

Contributors

I'd like to thank the people who spend time to improve the project !

  • Androl Genhald (tests & improvements on supported strings)

TO-DO

  • Create a configuration for the allowance of single quoted strings when it contains a double quote

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固