codeclimate / codeclimate-phpcodesniffer

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

Add PHPCS encoding argument #28

Closed josephdpurcell closed 8 years ago

josephdpurcell commented 8 years ago

This adds the option to specify the encoding: https://pear.php.net/manual/en/package.php.php-codesniffer.config-options.php

I'm hoping this resolves the error I'm having on this build: https://codeclimate.com/github/josephdpurcell/drupal/builds/8

PHP Notice:  iconv_strlen(): Detected an illegal character in input string in /usr/src/app/vendor/squizlabs/php_codesniffer/CodeSniffer/File.php on line 1514
gdiggs commented 8 years ago

@josephdpurcell looks good - thanks!