承接 k10r/codestyle 相关项目开发

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

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

k10r/codestyle

最新稳定版本:v3.1.0

Composer 安装命令:

composer require k10r/codestyle

包简介

Kellerkinder codestyle definitions for different PHP versions.

README 文档

README

Installation

First require the package via composer:

composer require --dev k10r/codestyle

Choose a version

After that, decide which configuration you want to use, currently the following configurations are supported:

  • PHP 7.4
  • PHP 8.0
  • PHP 8.1
  • PHP 8.2
  • PHP 8.3

Implementation

  • Create a .php-cs-fixer.dist.php or add the one provided by the project to the root folder of your project.
  • Change the version to one of the listed above
  • Finally, add .php-cs-fixer.cache to project specific .gitignore file
  • If you want to apply the changes simply use: ./vendor/bin/php-cs-fixer fix
  • Use the following command to take a look at the changes before applying them: ./vendor/bin/php-cs-fixer fix --dry-run

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-02