Index: tools/build/build_all.xml =================================================================== --- tools/build/build_all.xml +++ tools/build/build_all.xml @@ -13,12 +13,14 @@ <parallel threadCount="4"> <phingcall target="phpmd-ci-inc"> <property name="param.report.file" value="pmd_modules.xml"/> + <property name="param.cache.file" value="pmd_modules_result_cache.php"/> <property name="param.include" value="${scan.dir}/modules"/> <property name="param.exclude" value="admin_templates,mpdf"/> </phingcall> <phingcall target="phpmd-ci-inc"> <property name="param.report.file" value="pmd_core.xml"/> + <property name="param.cache.file" value="pmd_core_result_cache.php"/> <property name="param.include" value="${scan.dir}/core"/> <property name="param.exclude" value="admin_templates,ckeditor,editor,units/general/libchart"/> </phingcall> Index: tools/build/build_custom.xml =================================================================== --- tools/build/build_custom.xml +++ tools/build/build_custom.xml @@ -15,6 +15,7 @@ <parallel threadCount="4"> <phingcall target="phpmd-ci-inc"> <property name="param.report.file" value="pmd_custom.xml"/> + <property name="param.cache.file" value="pmd_custom_result_cache.php"/> <property name="param.include" value="${scan.dir}"/> <property name="param.exclude" value="admin_templates"/> </phingcall> Index: tools/build/targets/common.xml =================================================================== --- tools/build/targets/common.xml +++ tools/build/targets/common.xml @@ -116,6 +116,10 @@ <arg value="php"/> <arg value="--exclude"/> <arg value="${param.exclude}"/> + <arg value="--cache"/> + <arg value="--cache-file"/> + <arg value="${build.cache.dir}/${param.cache.file}"/> +<!-- <arg value="-vvv"/>--> </exec> </target> @@ -123,6 +127,7 @@ <exec executable="phpcs" passthru="true"> <arg value="--standard=${vendor.dir}/aik099/coding-standard/CodingStandard"/> <arg value="-wps"/> + <arg value="--cache"/> <arg value="--encoding=UTF-8"/> <arg value="--extensions=php"/> <arg value="-d"/> @@ -149,6 +154,7 @@ <arg value="--report-file=${build.logs.dir}/checkstyle.xml"/> <arg value="--standard=${vendor.dir}/aik099/coding-standard/CodingStandard"/> <arg value="-wp"/> + <arg value="--cache"/> <arg value="--encoding=UTF-8"/> <arg value="--extensions=php"/> <arg value="-d"/>