Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3763315
D2683.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2683.diff
View Options
diff --git a/build.xml b/build.xml
--- a/build.xml
+++ b/build.xml
@@ -2,22 +2,15 @@
<project name="notifications" default="full-build">
<!-- By default, we assume all tools to be on the $PATH -->
<property name="composer" value="composer"/>
- <property name="pdepend" value="pdepend"/>
<property name="phpcpd" value="phpcpd"/>
- <property name="phpcs" value="phpcs"/>
<property name="phpdox" value="phpdox"/>
<property name="phploc" value="phploc"/>
- <property name="phpmd" value="phpmd"/>
- <property name="phpunit" value="phpunit"/>
- <!-- Use this when the tools are managed by Composer in ${basedir}/vendor/bin
+ <!-- Some tools are managed by Composer. -->
<property name="pdepend" value="${basedir}/vendor/bin/pdepend"/>
- <property name="phpcpd" value="${basedir}/vendor/bin/phpcpd"/>
<property name="phpcs" value="${basedir}/vendor/bin/phpcs"/>
- <property name="phpdox" value="${basedir}/vendor/bin/phpdox"/>
- <property name="phploc" value="${basedir}/vendor/bin/phploc"/>
<property name="phpmd" value="${basedir}/vendor/bin/phpmd"/>
- <property name="phpunit" value="${basedir}/vendor/bin/phpunit"/> -->
+ <property name="phpunit" value="${basedir}/vendor/bin/phpunit"/>
<target name="full-build"
depends="prepare,static-analysis,phpunit,phpdox,-check-failure"
@@ -233,7 +226,10 @@
unless="phpunit.done"
depends="prepare"
description="Run unit tests with PHPUnit">
- <exec executable="${phpunit}" resultproperty="result.phpunit" taskname="phpunit">
+ <exec executable="php" resultproperty="result.phpunit" taskname="phpunit">
+ <arg value="-dzend_extension=xdebug.so" />
+ <arg value="-dxdebug.mode=coverage" />
+ <arg value="${phpunit}" />
<arg value="--configuration"/>
<arg path="${basedir}/phpunit.xml"/>
</exec>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 22:36 (17 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256577
Default Alt Text
D2683.diff (1 KB)
Attached To
Mode
D2683: Modernize build.xml
Attached
Detach File
Event Timeline
Log In to Comment