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

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

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

nette/coding-standard

最新稳定版本:v3.4.4

Composer 安装命令:

composer require nette/coding-standard

包简介

README 文档

README

Downloads this Month Latest Stable Version License

This is set of sniffs and fixers that checks and fixes code of Nette Framework against Coding Standard in Documentation.

Installation and Usage

Install the tool globally:

composer global require nette/coding-standard

Check coding standard in folders src and tests:

ecs check src tests

And fix it:

ecs fix src tests

The PHP version preset is automatically detected from your project's composer.json. If auto-detection is not possible, you can specify it manually:

ecs check src tests --preset php81

GitHub Actions

# .github/workflows/coding-style.yml
steps:
    - uses: actions/checkout@v4
    - uses: shivammathur/setup-php@v2
      with:
          php-version: 8.1

    - run: composer create-project nette/coding-standard temp/coding-standard
    - run: php temp/coding-standard/ecs check src tests

统计信息

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

GitHub 信息

  • Stars: 40
  • Watchers: 10
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-04