PHP Classes

File: build.xml

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   PHP Convert Base36   build.xml   Download  
File: build.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Convert Base36
Encode and decode data using Base36 encoding
Author: By
Last change:
Date: 4 years ago
Size: 2,956 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <project name="phinx-migrations" default="phpunit"> <target name="noop"/> <property environment="env"/> <condition property="is_windows"> <os family="windows"/> </condition> <tstamp> <format property="now" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/> <format property="now_num" pattern="yyyyMMddHHmmss" locale="en,UK"/> <format property="now_file" pattern="yyyy-MM-dd_HHmmss" locale="en,UK"/> </tstamp> <!-- By default, we assume all tools to be on the $PATH --> <condition property="ext" value=".bat"> <os family="windows"/> </condition> <!-- DISPLAYS WINDOWS OS --> <target name="display_windows" if="is_windows" > <echo message="OS Family is: Windows" /> </target> <condition property="is_windows"> <os family="windows"/> </condition> <condition property="is_linux"> <os family="unix" /> </condition> <target name="phpunit" description="Run unit tests with PHPUnit"> <exec executable="${basedir}/vendor/bin/phpunit${ext}" searchpath="true" resolveexecutable="true" failonerror="true" taskname="phpunit"> <arg value="--configuration"/> <arg path="${basedir}/phpunit.xml"/> </exec> </target> <target name="phpunit-coverage" description="Run unit tests with PHPUnit with coverage"> <delete dir="${basedir}/build/coverage"/> <mkdir dir="${basedir}/build/coverage"/> <exec executable="${basedir}/vendor/bin/phpunit${ext}" searchpath="true" resolveexecutable="true" failonerror="true" taskname="phpunit-coverage"> <arg value="--configuration"/> <arg path="${basedir}/phpunit.xml"/> <arg value="--coverage-clover"/> <arg path="${basedir}/build/logs/clover.xml"/> <arg value="--coverage-html"/> <arg path="${basedir}/build/coverage"/> </exec> </target> <target name="php-cs-fixer" description="Code style fixer"> <mkdir dir="${basedir}/build"/> <get src="https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/download/v2.0.0/php-cs-fixer.phar" dest="${basedir}/build/php-cs-fixer.phar" skipexisting="true"/> <exec executable="php" searchpath="true" resolveexecutable="true"> <arg value="${basedir}/build/php-cs-fixer.phar"/> <arg value="fix"/> <arg value="${basedir}/src/"/> <arg value="--rules=@PSR2"/> <arg value="--using-cache=no"/> </exec> <exec executable="php" searchpath="true" resolveexecutable="true"> <arg value="${basedir}/build/php-cs-fixer.phar"/> <arg value="fix"/> <arg value="${basedir}/tests/"/> <arg value="--rules=@PSR2"/> <arg value="--using-cache=no"/> </exec> </target> </project>