Checks source trees for fully qualified function calls.
composer require --dev kelunik/fqn-check
All not fully qualified function calls will be listed and the exit code will be
1 if any such function call is found,
You might also want to check out
friendsofphp/php-cs-fixer with its