rodrigorm/phpqa-make 问题修复 & 功能扩展

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

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

rodrigorm/phpqa-make

最新稳定版本:0.0.5

Composer 安装命令:

composer require rodrigorm/phpqa-make

包简介

Makefile for PHP QA Tools

README 文档

README

This repository contains a Makefile wich support several tools from http://jenkins-php.org/

Its a alternative for the build.xml file, and provides a much faster running using Makefile parallel jobs.

Install

$ composer require rodrigorm/phpqa-make

Usage

You can use directly from command line:

$ make -f vendor/rodrigorm/phpqa-make/Makefile phpqa-build

Or using include from your Makefile, if you want for example setup some variables:

SRCDIR = lib
BIN = bin

include vendor/rodrigorm/phpqa-make/Makefile

Recipes

Lint

Perform syntax check of sourcecode files

$ make phpqa-lint

PHPLOC

Measure project size using PHPLOC

$ make phpqa-phploc

PDepend

Calculate software metrics using PHP_Depend

$ make phpqa-pdepend

PHPMD

Perform project mess detection using PHPMD creating a log file for the continuous integration server

$ make phpqa-phpmd

PHPCS

Find coding standard violations using PHP_CodeSniffer and print human readable output. Intended for usage on the command line before committing.

$ make phpqa-phpcs

Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server

$ make phpqa-phpcs-ci

PHPCPD

Find duplicate code using PHPCPD

$ make phpqa-phpcpd

PHPUnit

Run unit tests with PHPUnit

$ make phpqa-phpunit

Run unit tests with PHPUnit and generate coverage

$ make phpqa-phpunit-ci

License

Copyright (C) 2014 Rodrigo Moyle rodrigorm@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the Lesser GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: Makefile

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-05-08