Skip to content

Commit

Permalink
Add lowercase alias for phpDocumentor on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Sep 20, 2021
1 parent e0dd9c9 commit 87993cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/tools/add_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ add_tools_helper() {
add_extension xml extension >/dev/null 2>&1
elif [ "$tool" = "phpDocumentor" ]; then
add_extension fileinfo extension >/dev/null 2>&1
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/phpdocumentor 2>/dev/null || true
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/phpdoc
elif [[ "$tool" =~ (symfony|vapor|wp)-cli ]]; then
sudo ln -s "${tool_path:?}" "${tool_path_dir:?}"/${tool%-*}
Expand Down

0 comments on commit 87993cd

Please sign in to comment.