1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
|
<?xml version="1.0" encoding="UTF-8"?>
<project name="PHPStanTaskTest" default="testRun">
<target name="testRun">
<phpstan/>
</target>
<target name="testRunFileset">
<phpstan>
<fileset dir="../../../../" includes="*.php"/>
</phpstan>
</target>
<target name="testExecutableChange">
<phpstan executable="/non/existing/path/to/phpstan"/>
</target>
<target name="testInvalidCommand">
<phpstan command="anyInvalid"/>
</target>
<target name="testAnalyseOptions">
<phpstan
command="analyse"
configuration="anyConfiguration"
level="anyLevel"
noProgress="true"
debug="true"
autoloadFile="anyAutoloadFile"
errorFormat="anyErrorFormat"
memoryLimit="anyMemoryLimit"
paths="path1 path2"
/>
</target>
<target name="testListOptions">
<phpstan
command="list"
format="anyFormat"
raw="true"
namespace="anyNamespace"
/>
</target>
<target name="testHelpOptions">
<phpstan
command="help"
format="anyFormat"
raw="true"
commandName="anyCommand"
/>
</target>
<target name="testCommonOptions">
<phpstan
help="true"
quiet="true"
version="true"
ansi="true"
noAnsi="true"
noInteraction="true"
verbose="true"
/>
</target>
</project>
|