PHP Lint
| <target name="lint" | |
| unless="lint.done" | |
| description="Perform syntax check of sourcecode files"> | |
| <apply executable="php" taskname="lint" failonerror="true"> | |
| <arg value="-l" /> | |
| <fileset dir="${basedir}/public_html"> | |
| <include name="**/*.php" /> | |
| <include name="**/*.html" /> | |
| <modified /> | |
| </fileset> | |
| <fileset dir="${basedir}/tests"> | |
| <include name="**/*.php" /> | |
| <modified /> | |
| </fileset> | |
| </apply> | |
| <property name="lint.done" value="true"/> | |
| </target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment