定制 sadovnik/hexlet-psr-linter 二次开发

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

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

sadovnik/hexlet-psr-linter

Composer 安装命令:

composer require sadovnik/hexlet-psr-linter

包简介

README 文档

README

Build Status Code Climate Test Coverage Issue Count

hexlet-psr-linter screenshot

This is a linter for PHP with aim to implement all possible PSR rules.

This project was originally started as part of Hexlet's traineeship, but actually developed a long time after. However the hexlet- prefix remains unchanged.

Thanks to Roman Lakhtadyr for review. 🙏🏻

Installation

You can install the package globally:

composer global require sadovnik/hexlet-psr-linter

or locally:

composer require sadovnik/hexlet-psr-linter

If you're having trouble to run psr-linter after global install, make sure Composer's global binary dir is in the $PATH.

Usage

psr-linter [--fix] [--debug] <path>
psr-linter (-h | --help)
psr-linter --version

Example

psr-linter src/Symfony/Component/HttpKernel/Bundle/Bundle.php --fix

Roadmap

  • Initiate boilerplate
  • Function name rule
  • Directory support
  • Variable name rule
  • «Either side-effects or definitions» rule
  • Autofix using --fix flag
  • JSON/YML output
  • Make an interface for user rules
  • Make a useful explanation of rules here in readme
  • Make a friendly demo with cli usage
  • Website with online linter

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-08-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固