diff --git a/lib/pronto/phpcs.rb b/lib/pronto/phpcs.rb
index <HASH>..<HASH> 100644
--- a/lib/pronto/phpcs.rb
+++ b/lib/pronto/phpcs.rb
@@ -1,5 +1,6 @@
 require 'pronto'
 require 'shellwords'
+require 'json'
 
 module Pronto
   class Phpcs < Runner
@@ -35,10 +36,14 @@ module Pronto
       escaped_standard = Shellwords.escape(@standard)
       escaped_path = Shellwords.escape(path)
 
-      JSON.parse(`#{escaped_executable} --report=json --standard=#{escaped_standard} #{escaped_path}`)
-        .fetch('files', {})
-        .fetch(path, {})
-        .fetch('messages', [])
+      begin
+        JSON.parse(`#{escaped_executable} --report=json --standard=#{escaped_standard} #{escaped_path}`)
+          .fetch('files', {})
+          .fetch(path, {})
+          .fetch('messages', [])
+      rescue JSON::ParserError
+        []
+      end
     end
 
     def new_message(offence, line)
Return empty array of violations if we were unable to parse JSON