承接 vertex-it/php-cs 相关项目开发

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

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

vertex-it/php-cs

Composer 安装命令:

composer require vertex-it/php-cs

包简介

Vertex IT shared PHP style rules for PHP-CS-Fixer

README 文档

README

Vertex IT shared PHP style rules for PHP-CS-Fixer

Installation

First install the package in the "tools" directory:

mkdir --parents tools/php-cs-fixer
composer require --working-dir=tools/php-cs-fixer vertex-it/php-cs:dev-master

After installation copy the file src/.php-cs-fixer.dist.php to the root of your project:

cp tools/php-cs-fixer/vendor/vertex-it/php-cs/src/.php-cs-fixer.dist.php .php-cs-fixer.dist.php

Usage

To run the PHP CS Fixer use the command

tools/php-cs-fixer/vendor/bin/php-cs-fixer fix

Integration with PHPStorm

To enable PHP CS Fixer inspections in PHPStorm run these steps:

  1. Set up PHP interpreter.
  2. In Settings > PHP > Quality tools > PHP CS Fixer choose your PHP interpreter and set path to cs fixer "tools/php-cs-fixer/vendor/bin/php-cs-fixer".
  3. Go to Settings > Editor > Inspections and enable PHP CS Fixer validation. Select "Custom" for Ruleset, and select path ".php-cs-fixer.dist.php" from the root of the project.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-11-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固