定制 onepix/wp-coding-standards 二次开发

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

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

onepix/wp-coding-standards

最新稳定版本:v2.0.3

Composer 安装命令:

composer require --dev onepix/wp-coding-standards

包简介

PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

README 文档

README

PHP Version PHPUnit Tests Status Coverage Psalm level Latest Stable Version Total Downloads

WP Coding Standards

Based on wp-coding-standards/wpcs.

Declarations Sniffs

WpOnepixStandard.Declarations.StrictTypes

Checks for mandatory declare(strict_types=1); after <?php. Takes into account other parameters besides strict_types

WP Sniffs

WpOnepixStandard.WP.AbspathAfterNamespace

Looking for a mandatory defined('ABSPATH') || exit; check after namespace so that you can't go to the file directly from the url

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-11