shipmonk/coding-standard 问题修复 & 功能扩展

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

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

shipmonk/coding-standard

最新稳定版本:0.2.0

Composer 安装命令:

composer require shipmonk/coding-standard

包简介

PHP Coding Standard used in ShipMonk

README 文档

README

PHP Coding Standard used in ShipMonk

Note

This coding standard is primarily intended for use by ShipMonk packages. For other applications or packages, consider using slevomat/coding-standard directly instead.

Installation

composer require --dev shipmonk/coding-standard

Configuration

Create phpcs.xml.dist in your project root:

<?xml version="1.0"?>
<ruleset
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd"
>
    <arg name="basepath" value="."/>
    <arg name="cache" value="var/phpcs.cache"/>

    <file>src/</file>
    <file>tests/</file>

    <config name="installed_paths" value="vendor/slevomat/coding-standard,vendor/shipmonk/coding-standard"/>
    <rule ref="ShipMonkCodingStandard"/>
</ruleset>

Usage

Check your code:

vendor/bin/phpcs

Fix auto-fixable issues:

vendor/bin/phpcbf

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固