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

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

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

myonlinestore/coding-standard

最新稳定版本:4.0.3

Composer 安装命令:

composer require myonlinestore/coding-standard

包简介

MyOnlineStore Coding Standard

README 文档

README

Install

Install the package with composer:

composer require myonlinestore/coding-standard --dev

Configure

Add the ruleset to your phpcs.xml.dist file:

<?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="extensions" value="php"/> <arg name="parallel" value="80"/> <arg name="cache" value=".phpcs-cache"/> <arg name="colors"/> <arg value="nps"/> <file>src</file> <file>tests</file> <rule ref="MyOnlineStore"/> </ruleset> 

Unused Doctrine fields

If your code has entities with fields without accessors, you could disable the unused elements inspection:

<rule ref="MyOnlineStore"> <exclude name="SlevomatCodingStandard.Classes.UnusedPrivateElements"/> </rule>

统计信息

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

GitHub 信息

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

其他信息

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