codeclimate / codeclimate-phpcodesniffer

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

Filter files by file extension #19

Closed BlakeWilliams closed 8 years ago

BlakeWilliams commented 8 years ago

The engine currently does not expect include_paths to receive just ./ causing the engine to not filter file extensions when .codeclimate.yml doesn't have exlude_paths. This changes the entrypoint to always use include_paths and work with ./.

This updates the engine to have DEFAULT_EXTENSIONS as well as configurable file extensions.

BlakeWilliams commented 8 years ago

Closing this in favor of #20, #21, and #22.