From 4f985e21f9af8304371ba0fd25ac141e8ff05e91 Mon Sep 17 00:00:00 2001 From: adlawson Date: Sun, 6 Jul 2014 17:31:27 +0100 Subject: [PATCH] Add initial project files --- .gitignore | 4 ++++ LICENSE | 21 +++++++++++++++++++++ composer.json | 43 +++++++++++++++++++++++++++++++++++++++++++ phpunit.xml.dist | 31 +++++++++++++++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 composer.json create mode 100644 phpunit.xml.dist diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99c2c31 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.vagrant +composer.lock +Vagrantfile +vendor diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..673a4f6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Andrew Lawson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..6e82b8c --- /dev/null +++ b/composer.json @@ -0,0 +1,43 @@ +{ + "name": "adlawson/vfs", + "description": "Virtual file system", + "keywords": [ + "dir", + "directory", + "fs", + "file", + "read", + "stream", + "system", + "wrapper", + "write" + ], + "license": "MIT", + "type": "library", + "authors": [ + { + "name": "Andrew Lawson", + "homepage": "http://adlawson.com", + "role": "Developer" + } + ], + "autoload": { + "psr-4": { + "Vfs\\": "src/" + } + }, + "autoload": { + "psr-4": { + "Vfs\\Test": "test/src/" + } + }, + "require": { + "php": ">=5.4.0", + "psr/log": "~1.0" + }, + "require-dev": { + "adlawson/timezone": "~1.0", + "mockery/mockery": "~0.9", + "phpunit/phpunit": "~4.0" + } +} diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 0000000..be5815a --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,31 @@ + + + + + + + test/functional + + + test/unit + + + + + + + src + + + + + + + + +