diff --git a/build.xml b/build.xml index c1182a2753f2934950ee9568f71884584c1801a9..cb36d44039a8cbdd822d80502346730bc0439f26 100644 --- a/build.xml +++ b/build.xml @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <project name="uw-php-security" default="main"> + <property name="composer.version" value="1.1.3"/> + <!-- Default build target --> <target name="main" description="Default build target"> <phingcall target="composer-install" /> @@ -19,7 +21,9 @@ <available file="composer.phar"/> </not> <then> - <exec command="wget https://getcomposer.org/composer.phar" passthru="true"/> + <httpget dir="${project.basedir}" + url="https://getcomposer.org/download/${composer.version}/composer.phar" + followRedirects="true"/> </then> </if> </target> @@ -36,8 +40,9 @@ <available file="phpunit.phar"/> </not> <then> - <exec command="wget https://phar.phpunit.de/phpunit.phar" passthru="true" - checkreturn="true"/> + <httpget dir="${project.basedir}" + url="https://phar.phpunit.de/phpunit.phar" + followRedirects="true"/> </then> </if> </target> diff --git a/composer.phar b/composer.phar index c194232f6453007cdcc7fe378e8155752642d10f..c0d6e92adc3237fb893ffc02ae32af567b465f04 100644 Binary files a/composer.phar and b/composer.phar differ