定制 jules-bertrand-external/php-quality-tools 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jules-bertrand-external/php-quality-tools

最新稳定版本:1.0.3

Composer 安装命令:

composer require jules-bertrand-external/php-quality-tools

包简介

A set of tools used to improve your PHP code quality.

README 文档

README

A set of tools used to improve your PHP code quality.

🛠️ Tools

🛠️ Installation

composer require jules-bertrand-external/php-quality-tools --dev

🧑🏻‍💻 Usage

php vendor/bin/php-quality-tools run <paths> <-c> <t tool> <-r report path>

Options :

paths : Define a list of paths (directories or files) to scan (use a comma separated list to list multiple paths). By default, will use current working directory.

-c : Will treat only changed files in the defined paths.

-t <tool> : Tool to execute, one of "phpcs", "php-cs-fixer", "phpmd", "phpstan". If you want to execute only a specific tool.

-r <report path> : Will generate reports in checkstyle format in the specified path.

🧐 Notes

If you want to speedup the PHPMD tool, you can create the file pdepend.xml at the root of your project directory with the following content :

<?xml version="1.0"?>
<symfony:container xmlns:symfony="http://symfony.com/schema/dic/services"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns="http://pdepend.org/schema/dic/pdepend"
                   xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
    <config>
        <cache>
            <driver>memory</driver>
        </cache>
    </config>
</symfony:container>

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-01-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固