m1ke/git-php-lint 问题修复 & 功能扩展

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

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

m1ke/git-php-lint

最新稳定版本:1.0.2

Composer 安装命令:

composer require m1ke/git-php-lint

包简介

Easily lint PHP files when commiting

README 文档

README

Require this with composer:

php composer.phar require --dev m1ke/git-php-lint:1.0.0

Unfortunately this uses the post-install-cmd script in composer, which doesn't trigger for required dependencies. Once you've updated your packages run:

./vendor/m1ke/git-php-lint/shell/setup

It will add a git pre-commit script to lint PHP files, via a symlink into the package.

Security Note

Symlinking to a shell script in a package which auto-upates could obviously be a risk. For this reason only install this package with a set version constraint; that way you'll get a fixed release which you can eyeball for security before you run it.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-28