File tree Expand file tree Collapse file tree 3 files changed +33
-15
lines changed
Expand file tree Collapse file tree 3 files changed +33
-15
lines changed Original file line number Diff line number Diff line change 1- /.idea
1+ /.idea /
22/.phpunit.result.cache
3- /bin /phing
4- /bin /phpunit
3+ /bin /
54/build /
65/composer.lock
76/custom.task.properties
1110/test /MySql /etc /stratum.cfg
1211/test /coverage.xml
1312/test /report /
14- /vendor /
13+ /vendor /
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<project name =" php-stratum" default =" build" basedir =" ." >
3- <taskdef name =" readSemanticVersion " classname =" vendor.setbased.phing-extensions.src. Task. ReadSemanticVersionTask" />
3+ <taskdef name =" ReadSemanticVersion " classname =" \SetBased\Phing\ Task\ ReadSemanticVersionTask" />
44 <property name =" VERSION" value =" 0.0.0" />
55
66 <target name =" build" >
77 <echo message =" noting to do." />
88 </target >
99
10- <!-- Run composer update -->
10+ <!-- Run composer update and executes various other updates -->
1111 <target name =" update" >
12- <exec command =" composer update" checkreturn =" true" passthru =" true" />
12+ <exec executable =" composer" checkreturn =" true" passthru =" true" >
13+ <arg value =" --ansi" />
14+ <arg value =" update" />
15+ </exec >
16+
17+ <phing phingfile =" build.xml" target =" outdated" haltonfailure =" true" />
1318 </target >
1419
20+ <!-- Show outdated packages -->
21+ <target name =" outdated" >
22+ <exec executable =" composer" checkreturn =" false" passthru =" true" >
23+ <arg value =" --ansi" />
24+ <arg value =" outdated" />
25+ <arg value =" --direct" />
26+ </exec >
27+ </target >
1528 <!-- Creates a new version/release. -->
1629 <target name =" version" >
17- <readSemanticVersion file =" .version"
30+ <ReadSemanticVersion file =" .version"
1831 versionProperty =" VERSION"
1932 haltOnError =" true" />
2033 <!-- Set version of application. -->
3851
3952 <!-- Runs all unit tests -->
4053 <target name =" unit" >
41- <exec command =" bin/phpunit" passthru =" true" checkreturn =" true" />
54+ <exec executable =" bin/phpunit" checkreturn =" true" passthru =" true" />
4255 </target >
4356</project >
Original file line number Diff line number Diff line change 1414 "type" : " library" ,
1515 "license" : " MIT" ,
1616 "require" : {
17- "php" : " >=7.3 " ,
18- "hassankhan/config" : " ^2.0 " ,
19- "setbased/helper-cast" : " ^2.0 "
17+ "php" : " >=7.4 " ,
18+ "hassankhan/config" : " ^3.0.1 " ,
19+ "setbased/helper-cast" : " ^2.1.1 "
2020 },
21+ "minimum-stability" : " dev" ,
22+ "prefer-stable" : true ,
2123 "require-dev" : {
22- "phpunit/phpunit" : " ^9.0" ,
23- "setbased/phing-extensions" : " ^2.0.1"
24+ "phing/phing" : " ^3.0.0-RC3" ,
25+ "phpunit/phpunit" : " ^9.5.27" ,
26+ "setbased/phing-extensions" : " 3.0.1"
2427 },
2528 "autoload" : {
2629 "psr-4" : {
3437 },
3538 "config" : {
3639 "bin-dir" : " bin/" ,
37- "sort-packages" : true
40+ "sort-packages" : true ,
41+ "allow-plugins" : {
42+ "phing/phing-composer-configurator" : true
43+ }
3844 }
3945}
You can’t perform that action at this time.
0 commit comments