terra-ops / terra-cli

The Terra Command Line Interface
http://terra.readthedocs.org
GNU General Public License v2.0
48 stars 17 forks source link

Unused method, property, variable or parameter #50

Open jmolivas opened 8 years ago

jmolivas commented 8 years ago

in src/terra/Factory.php, line 20

This createTerra method is declared but never used. You should remove it.

     * Creates a Terra instance.
     *
     * @return Terra
     *               A configured Flo instance.
     */
    private function createTerra()
    {
        $terra = new Terra();
      // Get config from env variables or files.
        if ($config_env = getenv('TERRA')) {
            $config_env = Yaml::parse($config_env);