From 3ae2fc1d61e31d3a6741cd83b092ac2271ea022c Mon Sep 17 00:00:00 2001 From: Nick de Groot Date: Fri, 16 May 2014 10:19:26 +0200 Subject: [PATCH] PHPLint add haltonfailure option on phplint --- lib/phplint/README.md | 4 +++- lib/phplint/phplint.properties | 2 ++ lib/phplint/phplint.xml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/phplint/README.md b/lib/phplint/README.md index 5d6f000..f7e0b83 100644 --- a/lib/phplint/README.md +++ b/lib/phplint/README.md @@ -12,7 +12,9 @@ Run PHPLint on a directory Run PHPLint on multiple directories ## Configuration ## -TODO + ++ `phplint.dir` - Location where the project source files are. ++ `phplint.haltonfailure` - Fail the build when phplint fails ## Dependencies ## None diff --git a/lib/phplint/phplint.properties b/lib/phplint/phplint.properties index c0216ef..219008b 100644 --- a/lib/phplint/phplint.properties +++ b/lib/phplint/phplint.properties @@ -1,2 +1,4 @@ phplint.dir=${project.basedir}/module,${project.basedir}/config + +phplint.haltonfailure=true diff --git a/lib/phplint/phplint.xml b/lib/phplint/phplint.xml index cc73e0f..f0244a7 100644 --- a/lib/phplint/phplint.xml +++ b/lib/phplint/phplint.xml @@ -7,7 +7,7 @@ - +