 
     isPhoenixProject = (textEditor) ->
       project = projectPath(textEditor)
-      return false if not project
       mixLockPath = path.join(project, 'mix.lock')
       try
         mixLockContent = fs.readFileSync mixLockPath, 'utf-8'

      projPath = atom.project.relativizePath(editorPath)[0]
      if projPath?
        return projPath
      null

    isMixProject = (textEditor) ->
      project = projectPath(textEditor)
      return false if not project
      return fs.existsSync(path.join(project, 'mix.exs'))

    isTestFile = (textEditor) ->
      project = projectPath(textEditor)
      return false if not project
      relativePath = path.relative(project, textEditor.getPath())
      relativePath.split(path.sep)[0] == 'test'


        ret.push
          type: "Warning"
          text: reResult[3]
          filePath: path.join(projectPath(textEditor), reResult[1])
          range: helpers.rangeFromLineNumber(textEditor, reResult[2] - 1)
        reResult = re.exec(toParse)
      ret
