Author: ihabunek
Date: Fri Nov 25 12:28:50 2011
New Revision: 1206138
URL: http://svn.apache.org/viewvc?rev=1206138&view=rev
Log:
Added -n switch to php when performing syntax check. This prevents php from
loading the ini file and speeds up the process.
Modified:
logging/log4php/trunk/build.xml
Modified: logging/log4php/trunk/build.xml
URL:
http://svn.apache.org/viewvc/logging/log4php/trunk/build.xml?rev=1206138&r1=1206137&r2=1206138&view=diff
==============================================================================
--- logging/log4php/trunk/build.xml (original)
+++ logging/log4php/trunk/build.xml Fri Nov 25 12:28:50 2011
@@ -107,6 +107,7 @@
<!-- Performs a syntax check on all PHP files (phplint). -->
<target name="syntax-check">
<apply executable="php">
+ <arg value="-n" />
<arg value="-l" />
<fileset dir="." includes="src/**/*.php" />
</apply>