Skip to content

Commit 1db752a

Browse files
committed
Remove check for globally-installed phpdoc.
1 parent e77d2fd commit 1db752a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

docs-generate

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,8 @@ BIN_DIR="${DIR}/bin"
2828
CFG_FILE="$DIR/Config/phpdoc.xml"
2929

3030
# Bail out if phpcs isn't available to us
31-
PHPDOC="$( which phpdoc )"
32-
if [ $? -gt 0 ]; then
33-
PHPDOC="$BIN_DIR/phpdoc"
34-
test -x $PHPDOC
35-
fi
31+
PHPDOC="./bin/phpdoc"
32+
test -x $PHPDOC
3633
if [ $? -gt 0 ]; then
3734
echo "!! The 'phpdoc' command was not found on this system."
3835
echo ""

0 commit comments

Comments
 (0)