Fix lint error

This commit is contained in:
Thilina Hasantha
2016-08-04 14:37:26 +05:30
parent a10fbba14a
commit 6e4d32933b
2 changed files with 18 additions and 13 deletions

View File

@@ -53,21 +53,22 @@
<property name="prepare.done" value="true"/> <property name="prepare.done" value="true"/>
</target> </target>
<target name="lint" description="Perform syntax check of sourcecode files"> <target name="lint" description="Perform syntax check of sourcecode files">
<apply executable="php" failonerror="true"> <apply executable="php" failonerror="true">
<arg value="-l" /> <arg value="-l" />
<fileset dir="${basedir}/src"> <fileset dir="${basedir}/src">
<include name="**/*.php" /> <include name="**/*.php" />
<modified /> <exclude name="composer/**"/>
</fileset> <modified />
</fileset>
<fileset dir="${basedir}/test"> <fileset dir="${basedir}/test">
<include name="**/*.php" /> <include name="**/*.php" />
<modified /> <modified />
</fileset> </fileset>
</apply> </apply>
</target> </target>
<target name="phploc" <target name="phploc"
description="Measure project size using PHPLOC and print human readable output. Intended for usage on the command line."> description="Measure project size using PHPLOC and print human readable output. Intended for usage on the command line.">

View File

@@ -527,6 +527,10 @@ Release note v18.0
------------------ ------------------
### Features ### Features
* Translations (beta) for German, French, Polish, Italian, Sinhala, Chinese, Japanese, Hindi and Spanish * Translations (beta) for German, French, Polish, Italian, Sinhala, Chinese, Japanese, Hindi and Spanish
* PDF Reports
* Ability to specify department heads
* Add advanced custom fields to employees via UI
*
### Fixes ### Fixes
* Fix issue: classes should be loaded even the module is disabled * Fix issue: classes should be loaded even the module is disabled