         parameters.push('--syntax-check')
         parameters.push('--define', 'display_errors=On')
         parameters.push('--define', 'log_errors=Off')
+        parameters.push('--define', 'error_reporting=E_ALL') if @errorReporting
         text = textEditor.getText()
         [projectPath] = atom.project.relativizePath(filePath)
         cwd = if projectPath? then projectPath else path.dirname(filePath)

      type: 'string'
      title: 'PHP Executable Path'
      default: 'php' # Let OS's $PATH handle the rest

  _testBin: ->
    title = 'linter-php: Unable to determine PHP version'

      (executablePath) =>
        @executablePath = executablePath
        @_testBin()
    @subscriptions.add atom.config.observe 'linter-php.errorReporting',
      (value) =>
        @errorReporting = value

  deactivate: ->
    @subscriptions.dispose()
