承接 jadu/php-style 相关项目开发

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

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

jadu/php-style

最新稳定版本:2.1.0

Composer 安装命令:

composer require jadu/php-style

包简介

Jadu PHP coding style configuration for PHP-CS-Fixer

README 文档

README

Require the php-style dev dependency:

composer require --dev jadu/php-style

In your project's .php-cs-fixer.dist.php config file use the Config class as follows:

<?php

require_once __DIR__ . '/vendor/jadu/php-style/src/Config.php';

use Jadu\Style\Config;
use PhpCsFixer\Finder;

$finder = Finder::create();
$finder->in(__DIR__ . '/src');
$finder->in(__DIR__ . '/tests/unit');

$config = new Config();
$config->setFinder($finder);

return $config;

Now add phpcs to your project's build tasks.

Example CI command:

vendor/bin/php-cs-fixer --dry-run -v fix

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 22
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-06-21