Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: jaysonjphillips/maxcdn-php-api
base: 60d8c031b0
...
head fork: jaysonjphillips/maxcdn-php-api
compare: 5b5d49ab09
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 1 addition and 83 deletions.
  1. +1 −1  MaxCDN.php
  2. +0 −82 build.xml
View
2  MaxCDN.php
@@ -178,7 +178,7 @@ function getTotalHits($zone_id, $type, $from = null, $to = null, $timezone = nul
* @param string $timezone (optional)
* @return object $xmlrpcresp | array $value
*/
- function getTotalTransferStats($company_id, $date_from, $date_to, $zone_id, $sort_by = null, $maximum = null, $offset = null, $timezone = null) {
+ function getTotalTransferStats($company_id, $date_from, $date_to, $zone_id, $sort_by = null, $maximum = null, $offset = null, $timezone = null, $view_by = null) {
if (empty($company_id) || empty($zone_id) || empty($date_from) || empty($date_to)) {
throw new MissingRequiredParameterException('One or more required parameters are empty');
View
82 build.xml
@@ -1,82 +0,0 @@
-<project name="MaxCDN PHP Class" default="build">
- <target name="clean">
- <delete dir="${basedir}/build" />
- </target>
-
- <target name="prepare">
- <mkdir dir="${basedir}/build/logs" />
- <mkdir dir="${basedir}/build/codebrowser" />
- <mkdir dir="${basedir}/build/coverage" />
- <mkdir dir="${basedir}/build/cpd" />
- <mkdir dir="${basedir}/build/dependencies" />
- </target>
-
- <target name="phpcs">
- <exec dir="${basedir}" executable="phpcs" failonerror="false" output="/dev/null">
- <arg line="--extensions=php --ignore=build/*,tests/* --standard=Zend --tab-width=4 --report=checkstyle --report-file=${basedir}/build/logs/checkstyle.xml ." />
- </exec>
- </target>
-
- <target name="phpmd">
- <exec dir="${basedir}" executable="phpmd" failonerror="false">
- <arg line=". xml codesize --reportfile ${basedir}/build/logs/pmd.xml" />
- </exec>
- </target>
-
- <target name="phpcpd">
- <exec dir="${basedir}" executable="phpcpd" failonerror="false">
- <arg line="--log-pmd=${basedir}/build/logs/pmd-cpd.xml
- --exclude=build
- --exclude=tests
- ." />
- </exec>
- <exec dir="${basedir}/build/logs" executable="xsltproc" failonerror="false" output="${basedir}/build/cpd/index.html">
- <arg line="/path/to/cpd.xsl ${basedir}/build/logs/pmd-cpd.xml" />
- </exec>
- </target>
-
- <target name="pdepend">
- <exec dir="${basedir}" executable="pdepend" failonerror="false">
- <arg line="--jdepend-xml=${basedir}/build/logs/jdepend.xml
- --jdepend-chart=${basedir}/build/dependencies/jdepend.svg
- --overview-pyramid=${basedir}/build/dependencies/pyramid.svg
- --optimization=best
- --exclude=build,tests
- ." />
- </exec>
- <exec dir="${basedir}/build/dependencies" executable="cp" failonerror="false">
- <arg line="${basedir}/path/to/dependencies.html index.html" />
- </exec>
- </target>
-
- <target name="phpcb">
- <exec dir="${basedir}" executable="phpcb" failonerror="false">
- <arg line="--log ${basedir}/build/logs --source ${basedir} --output ${basedir}/build/codebrowser" />
- </exec>
- </target>
-
- <target name="phpunit">
- <exec dir="${basedir}/tests" executable="phpunit" failonerror="true">
- <arg line="--log-junit ${basedir}/build/logs/phpunit.xml
- --coverage-clover ${basedir}/build/logs/clover.xml
- --coverage-html ${basedir}/build/coverage" />
- </exec>
- </target>
-
- <target name="documentation" depends="prepare">
- <exec dir="${basedir}" executable="docblox" failonerror="false">
- <arg line="run -t ${basedir}/build/docblox" />
- </exec>
- </target>
-
- <target name="parallel">
- <parallel>
- <antcall target="phpcs" />
- <antcall target="phpmd" />
- <antcall target="phpcpd" />
- <antcall target="pdepend" />
- </parallel>
- </target>
-
- <target name="build" depends="clean,prepare,parallel,phpunit,phpcb,documentation" />
-</project>

No commit comments for this range

Something went wrong with that request. Please try again.