I have one problem with phpmd plugin to PhpStorm.
I have php on my server and configured php interpreter in PhpStorm.
Path to php in configuration is: /bin/usr/php71
I have two versions of php on server - php (php 5.6.) and php71 (php 7.1. version).
But I got error: "phpmd: PHP Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE) in".
It's look like phpmd is called by default php (php 5.6), not php71 alias. Can I do something with that or I have to link php to php 7.1. version?