    * Tests the user's PHP and Composer configuration.
    * @return {bool}
   ###
-  testConfig: () ->
+  testConfig: (interactive) ->
     @getConfig()
 
     exec = require "child_process"

    # Command for namespaces
    atom.commands.add 'atom-workspace', 'atom-autocomplete-php:namespace': =>
        namespace.createNamespace(atom.workspace.getActivePaneItem())

    @writeConfig()


    if testResult.status = null or testResult.status != 0
      atom.notifications.addError(errorTitle, {'detail': errorMessage})
      return false
    else if interactive
      atom.notifications.addSuccess('atom-autocomplete-php - Success', {'detail': 'Configuration OK !'})
      return false

    return true

