Gitkraken Hooks Issue


when installing gitkraken via snap on Ubuntu 19.04, any of my githooks that call upon PHP scripts to execute, will get the error:

    To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.


<oolbox/.git/hooks/pre-commit"  0<&- && exit || exit
bash: /home/user/public_html/dev/applications/toolbox/.git/hooks/pre-commit: /usr/bin/php: bad interpreter: No such file or directory

i’ve tried several different things with no success. i have PHP 7.3 installed, i can execute scripts from the CLI without issue. it works with the .deb install of gitkraken, just not the snap.