Skip to content

Commit 2f9f159

Browse files
committed
Update dependencies.
1 parent 3651a8b commit 2f9f159

File tree

4 files changed

+30
-12
lines changed

4 files changed

+30
-12
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
/.gitignore export-ignore
33
/.scrutinizer.yml export-ignore
44
/.travis.yml export-ignore
5+
/.unit-test export-ignore
56
/.version export-ignore
7+
/README.md export-ignore
68
/build.xml export-ignore
79
/docs/ export-ignore
810
/phpunit.xml export-ignore
9-
/README.md export-ignore
1011
/test/ export-ignore

.unit-test

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash -e -x
2+
3+
cat test/MySql/ddl/0010_create_database.sql | mysql -v -u root
4+
cat test/MySql/ddl/0020_create_user.sql | mysql -v -u root
5+
./bin/phpunit
6+

build.xml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,20 @@
1212
<arg value="update"/>
1313
</exec>
1414

15-
<!-- Show outdated packages -->
16-
<exec executable="composer" checkreturn="true" passthru="true">
15+
<phing phingfile="build.xml" target="outdated" haltonfailure="true"/>
16+
</target>
17+
18+
<!-- Show outdated packages -->
19+
<target name="outdated">
20+
<exec executable="composer" checkreturn="false" passthru="true">
1721
<arg value="--ansi"/>
1822
<arg value="outdated"/>
1923
<arg value="--direct"/>
2024
</exec>
25+
<exec executable="npm" checkreturn="false" passthru="true">
26+
<arg value="--ansi"/>
27+
<arg value="outdated"/>
28+
</exec>
2129
</target>
2230

2331
<!-- Generates the documentation -->
@@ -50,8 +58,8 @@
5058

5159
<!-- Runs all unit tests -->
5260
<target name="unit">
53-
<exec command="cat test/MySql/ddl/0010_create_database.sql | mysql -v -u root" passthru="true" checkreturn="true"/>
54-
<exec command="cat test/MySql/ddl/0020_create_user.sql | mysql -v -u root" passthru="true" checkreturn="true"/>
55-
<exec command="bin/phpunit" passthru="true" checkreturn="true"/>
61+
<exec executable="bash" passthru="true" checkreturn="true">
62+
<arg value=".unit-test"/>
63+
</exec>
5664
</target>
5765
</project>

composer.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
"setbased/error-handler": "^1.2.0",
1414
"setbased/exception": "^2.2.0",
1515
"setbased/helper-code-store-mysql": "^2.1.1",
16-
"setbased/php-stratum-middle": "^5.9.0",
17-
"setbased/php-stratum-mysql": "^6.4.0",
18-
"setbased/typed-config": "^1.1.0",
19-
"symfony/console": "^5.3.7"
16+
"setbased/php-stratum-middle": "^5.10.0",
17+
"setbased/php-stratum-mysql": "^6.5.0",
18+
"setbased/typed-config": "^1.2.0",
19+
"symfony/console": "^5.4.16"
2020
},
2121
"minimum-stability": "dev",
2222
"prefer-stable": true,
2323
"require-dev": {
2424
"ext-pcntl": "*",
2525
"ext-posix": "*",
26-
"phpunit/phpunit": "^9.5.0",
26+
"phpunit/phpunit": "^9.5.27",
2727
"phing/phing": "^3.0.0-RC3",
2828
"setbased/phing-extensions": "^3.0.1"
2929
},
@@ -42,6 +42,9 @@
4242
],
4343
"config": {
4444
"bin-dir": "bin/",
45-
"sort-packages": true
45+
"sort-packages": true,
46+
"allow-plugins": {
47+
"phing/phing-composer-configurator": true
48+
}
4649
}
4750
}

0 commit comments

Comments
 (0)