mirror of
https://github.com/adlawson/php-vfs.git
synced 2024-11-21 20:15:13 +00:00
Add initial project files
This commit is contained in:
commit
4f985e21f9
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
.vagrant
|
||||
composer.lock
|
||||
Vagrantfile
|
||||
vendor
|
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Andrew Lawson <http://adlawson.com>
|
||||
|
||||
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.
|
43
composer.json
Normal file
43
composer.json
Normal file
@ -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"
|
||||
}
|
||||
}
|
31
phpunit.xml.dist
Normal file
31
phpunit.xml.dist
Normal file
@ -0,0 +1,31 @@
|
||||
<phpunit bootstrap="./vendor/autoload.php"
|
||||
colors="true"
|
||||
stopOnError="true"
|
||||
stopOnFailure="true">
|
||||
|
||||
<!-- Test suites -->
|
||||
<testsuites>
|
||||
<!-- <testsuite name="acceptance">
|
||||
<directory suffix="AcceptanceTest.php">test/acceptance</directory>
|
||||
</testsuite> -->
|
||||
<testsuite name="functional">
|
||||
<directory suffix="FunctionalTest.php">test/functional</directory>
|
||||
</testsuite>
|
||||
<testsuite name="unit">
|
||||
<directory suffix="Test.php">test/unit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<!-- Coverage filter -->
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
|
||||
<!-- Listeners -->
|
||||
<listeners>
|
||||
<listener class="Mockery\Adapter\Phpunit\TestListener"/>
|
||||
</listeners>
|
||||
|
||||
</phpunit>
|
Loading…
Reference in New Issue
Block a user