-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from nextcloud/streams52
update icewind/streams to 0.5.2
- Loading branch information
Showing
9 changed files
with
116 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1753,49 +1753,6 @@ | |
"minification" | ||
] | ||
}, | ||
{ | ||
"name": "icewind/streams", | ||
"version": "0.4.1", | ||
"version_normalized": "0.4.1.0", | ||
"source": { | ||
"type": "git", | ||
"url": "https://github.com/icewind1991/Streams.git", | ||
"reference": "d3620e8dc410c86c2ba55579803679c4e0b289ac" | ||
}, | ||
"dist": { | ||
"type": "zip", | ||
"url": "https://api.github.com/repos/icewind1991/Streams/zipball/d3620e8dc410c86c2ba55579803679c4e0b289ac", | ||
"reference": "d3620e8dc410c86c2ba55579803679c4e0b289ac", | ||
"shasum": "" | ||
}, | ||
"require": { | ||
"php": ">=5.3" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8", | ||
"satooshi/php-coveralls": "v1.0.0" | ||
}, | ||
"time": "2016-06-02T14:37:52+00:00", | ||
"type": "library", | ||
"installation-source": "dist", | ||
"autoload": { | ||
"psr-4": { | ||
"Icewind\\Streams\\Tests\\": "tests/", | ||
"Icewind\\Streams\\": "src/" | ||
} | ||
}, | ||
"notification-url": "https://packagist.org/downloads/", | ||
"license": [ | ||
"MIT" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Robin Appelman", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"description": "A set of generic stream wrappers" | ||
}, | ||
{ | ||
"name": "guzzlehttp/guzzle", | ||
"version": "5.3.1", | ||
|
@@ -3044,5 +3001,48 @@ | |
"scss", | ||
"stylesheet" | ||
] | ||
}, | ||
{ | ||
"name": "icewind/streams", | ||
"version": "0.5.2", | ||
"version_normalized": "0.5.2.0", | ||
"source": { | ||
"type": "git", | ||
"url": "https://github.com/icewind1991/Streams.git", | ||
"reference": "6bfd2fdbd99319f5e010d0a684409189a562cb1e" | ||
}, | ||
"dist": { | ||
"type": "zip", | ||
"url": "https://api.github.com/repos/icewind1991/Streams/zipball/6bfd2fdbd99319f5e010d0a684409189a562cb1e", | ||
"reference": "6bfd2fdbd99319f5e010d0a684409189a562cb1e", | ||
"shasum": "" | ||
}, | ||
"require": { | ||
"php": ">=5.3" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^4.8", | ||
"satooshi/php-coveralls": "v1.0.0" | ||
}, | ||
"time": "2016-12-02T14:21:23+00:00", | ||
"type": "library", | ||
"installation-source": "dist", | ||
"autoload": { | ||
"psr-4": { | ||
"Icewind\\Streams\\Tests\\": "tests/", | ||
"Icewind\\Streams\\": "src/" | ||
} | ||
}, | ||
"notification-url": "https://packagist.org/downloads/", | ||
"license": [ | ||
"MIT" | ||
], | ||
"authors": [ | ||
{ | ||
"name": "Robin Appelman", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"description": "A set of generic stream wrappers" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
/** | ||
* Copyright (c) 2016 Robin Appelman <[email protected]> | ||
* This file is licensed under the Licensed under the MIT license: | ||
* http://opensource.org/licenses/MIT | ||
*/ | ||
|
||
namespace Icewind\Streams; | ||
|
||
/** | ||
* A string-like object that maps to an existing stream when opened | ||
*/ | ||
class PathWrapper extends NullWrapper { | ||
/** | ||
* @param resource $source | ||
* @return Path|string | ||
*/ | ||
public static function getPath($source) { | ||
return new Path(__CLASS__, [ | ||
'null' => [ | ||
'source' => $source | ||
] | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters