silverorange/ambiguous-class-name-detector 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

silverorange/ambiguous-class-name-detector

Composer 安装命令:

composer require silverorange/ambiguous-class-name-detector

包简介

Command-line tool to check for ambiguous class names with Composer's generated class map.

README 文档

README

Command-line tool to detect ambiguous class names when using the class map autoload mechanism with Composer.

This tool is intended to be used in a CI environment and should fail if ambiguous class names are introduced in a project.

Development

This tool uses composer. To test during development, make sure you have the required packages installed by running composer install and pnpm install.

You can run the tool using ./bin/check-for-ambiguous-class-names.

This project uses PHP-CS-Fixer and Prettier for automatic code formatting. To check for formatting issues in PHP and (optionally) fix them, run:

composer run phpcs
composer run phpcs:fix

Similarly, for non-PHP files:

pnpm format
pnpm format:fix

Installation

Add to your project's development dependencies with:

composer require --dev silverorange/ambiguous-class-name-detector

Then add composer run check-for-ambiguous-class-names to your CI pipeline. If ambiguous class names are detected, the command will exit with a non-zero value and report the ambiguous class names.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固