codeclimate / codeclimate-phpcodesniffer

Code Climate Engine for PHP Code Sniffer
MIT License
28 stars 23 forks source link

Ability to specify which version of code standard #49

Open josephdpurcell opened 7 years ago

josephdpurcell commented 7 years ago

Problem

I can imagine scenarios where a code standard gets updated by Code Climate and someone's repository has their GPA downgraded (or upgraded).

I can also imagine where someone wants to add a custom code style check that isn't officially supported by Code Climate

Proposed Resolution

  1. Add the ability to specify specific versions of a code standard (this version would map to a version that composer understands).
  2. Add the ability to specify a custom package from packagist.org to use as a code standard.