Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1374377
D469.id1203.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 1, 1:09 AM
Size
2 KB
Mime Type
text/x-diff
Expires
Mon, Feb 2, 1:09 AM (16 h, 6 m)
Engine
blob
Format
Raw Data
Handle
883833
Attached To
D469: INP-1861 - Cache results of the PHP_CodeSniffer & PHP_MessDetector
D469.id1203.diff
View Options
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"/>
Event Timeline
Log In to Comment