lib/php_codesniffer/plugin.rb in danger-php_codesniffer-0.1.1 vs lib/php_codesniffer/plugin.rb in danger-php_codesniffer-0.1.2

- old
+ new

@@ -78,10 +78,10 @@ # # @return [Hash] def run_phpcs(bin, file) command = "#{bin} --report=json " command << "--basepath=. " - command << "--standard=#{standard}" if standard + command << "--standard=#{standard} " if standard command << "--ignore=#{ignore}" if ignore result = `#{command} #{file}` JSON.parse result end