Remove composer.json as it overwrites a projects composer.json, use
require to add phpcs to the CURRENT project; use
proper variable for detection;