Created an object for reading and manipulating the environments.json file that we can migrate current functionality into.
Added in an instantiation of the new environmentFile object and set class for interface with that object.
Updated creation to now install environments in the ~/.virtphp/env folder by default instead of current directory.
Changed the $_SERVER[home] method for getting the home directory to one used throughout the rest of the code.
Added a check that the env to be deleted exists and then set path to one tracked in the environments.json file.
Cleaned up some PSR stuff.
Added in a check that prevents the same environment name from being used twice.
Merge branch 'master' into localized-install
Removed the construct as it was breaking all tests and just added the check in the get method.
Extended test to cover new getEnvironments method.
Updated test to build the right master folder for testing as we are not relying on current directories any longer.
Extended tests to have mocked getEnvironments object.
Added new test for testing that an environment has not already been created.
Removed some extra spaces.
Added in the tests for the EnvironmentFile object.
Merge branch 'localized-install'
Updated file to use the environment file object for a check, and for adding the new env to the list. Also extended the clone to name to a full path so it will be created in the env folder.
Added methods for checking for a specific env and adding a new entry to list file.
Updated file to use new environmentFile object for check of existing env name and to add new entry.
Passing output object to the parent.