PHP Classes

File: build.xml

Recommend this page to a friend!
  Classes of jawira  >  PHP Case Converter for Twig  >  build.xml  >  Download  
File: build.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Case Converter for Twig
Convert parameter values used in Twig templates
Author: By
Last change:
Date: 1 year ago
Size: 1,052 bytes


Class file image Download
<?xml version="1.0" encoding="UTF-8" ?>

<project name="case-converter-twig" description="Twig extension for Case-Converter" default="help">

  <target name="qa" depends="php:lint,phpunit:run,phpstan:analyze"/>

  <target name="php:lint">
    <phplint haltonfailure="true" deprecatedAsError="true">
      <fileset dir=".">
        <include name="**/*.php"/>
        <exclude name="vendor/**"/>

  <target name="phpunit:run" description="Runs PHPUnit tests">
    <exec executable="vendor/bin/phpunit" passthru="true" checkreturn="true"/>

  <target name="phpstan:analyze" description="Analyse at max level">
    <exec executable="vendor/bin/phpstan" passthru="true" checkreturn="true">
      <arg line="--level=max"/>
      <arg value="analyze"/>
      <arg value="--no-progress"/>
      <arg path="src"/>

  <target name="help">
    <visualizer format="svg"/>
    <exec executable="xdg-open" spawn="true">
      <arg file="build.svg"/>

For more information send a message to info at phpclasses dot org.