File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,13 @@ if [ -n "$(git status --porcelain)" ]; then
93
93
fi
94
94
95
95
# Using Composer is possible, but they don't recommend it.
96
- wget -O phpDocumentor.phar https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.1.2/phpDocumentor.phar
96
+ phpdocumentor_phar_hash=' 4a93d278fd4581f17760903134d85fcde3d40d93f739c8c648f3ed02c9c3e7bb phpDocumentor.phar'
97
+
98
+ if ! echo " $phpdocumentor_phar_hash " | sha256sum -c; then
99
+ wget -O phpDocumentor.phar https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.3.1/phpDocumentor.phar
100
+ fi
101
+
102
+ echo " $phpdocumentor_phar_hash " | sha256sum -c
97
103
98
104
# Use cache dir in /tmp as otherwise cache files get into the output directory.
99
105
cachedir=" /tmp/phpdoc-$$ -$RANDOM "
You can’t perform that action at this time.
0 commit comments