File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1919 },
2020 "require-dev" : {
2121 "phpunit/phpunit" : " 4.2.*" ,
22- "squizlabs/php_codesniffer" : " 2.*"
22+ "squizlabs/php_codesniffer" : " 2.*" ,
23+ "apigen/apigen" : " ^4.1"
2324 },
2425 "autoload" : {
2526 "psr-4" : {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ version="${BASH_REMATCH[1]}"
2323date=" ${BASH_REMATCH[2]} "
2424notes=" $( echo " ${BASH_REMATCH[3]} " | sed -n -e ' /^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p' ) "
2525
26- if [[ " $date " -ne $( date +" %Y-%m-%d" ) ]]; then
26+ if [[ " $date " != $( date +" %Y-%m-%d" ) ]]; then
2727 echo " $date is not today!"
2828 exit 1
2929fi
@@ -45,7 +45,7 @@ php composer.phar update --no-dev
4545perl -pi -e " s/(?<=const VERSION = ').+?(?=';)/$tag /g" src/WebService/Client.php
4646
4747if [ ! -f box.phar ]; then
48- wget -O box.phar " https://github.com/box-project/box2/releases/download/2.6.1 /box-2.6.1 .phar"
48+ wget -O box.phar " https://github.com/box-project/box2/releases/download/2.7.5 /box-2.7.5 .phar"
4949fi
5050
5151php box.phar build
@@ -76,12 +76,7 @@ if [ -n "$(git status --porcelain)" ]; then
7676 exit 1
7777fi
7878
79- # We no longer have apigen as a dependency in Composer as releases are
80- # sporadically deleted upstream and compatibility is often broken on patch
81- # releases.
82- wget -O apigen.phar " http://apigen.org/apigen.phar"
83-
84- php apigen.phar generate \
79+ ../vendor/bin/apigen generate \
8580 -s ../src \
8681 -s ../../MaxMind-DB-Reader-php/src \
8782 -d " doc/$tag " \
You can’t perform that action at this time.
0 commit comments