diff --git a/standalone/deps/cache/CHANGELOG.md b/standalone/deps/cache/CHANGELOG.md new file mode 100644 index 00000000..22d3eb72 --- /dev/null +++ b/standalone/deps/cache/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +All notable changes to this project will be documented in this file, in reverse chronological order by release. + +## [3.0.0](https://github.com/php-fig/cache/compare/2.0.0...3.0.0) - 2021-02-04 + +### Changed + +- **BREAKING** All methods have return types + +## [2.0.0](https://github.com/php-fig/cache/compare/1.0.1...2.0.0) - 2021-02-04 + +### Changed + +- **BREAKING** The `CacheItemInterface::expiresAt()` method’s `$expiration` parameter is typehinted with `DateTimeInterface`, see [this explanation](https://www.php-fig.org/psr/psr-6/meta/#82-type-additions) +- All methods have typed parameters +- `Psr\Cache\CacheException` extends `Throwable` +- Bump required PHP version to 8.0 + +## [1.0.1](https://github.com/php-fig/cache/compare/1.0.0...1.0.1) - 2016-08-06 + +### Fixed + +- Make spacing consistent in phpdoc annotations php-fig/cache#9 - chalasr +- Fix grammar in phpdoc annotations php-fig/cache#10 - chalasr +- Be more specific in docblocks that `getItems()` and `deleteItems()` take an array of strings (`string[]`) compared to just `array` php-fig/cache#8 - GrahamCampbell +- For `expiresAt()` and `expiresAfter()` in CacheItemInterface fix docblock to specify null as a valid parameters as well as an implementation of DateTimeInterface php-fig/cache#7 - GrahamCampbell + +## 1.0.0 - 2015-12-11 + +Initial stable release; reflects accepted PSR-6 specification diff --git a/standalone/deps/cache/LICENSE.txt b/standalone/deps/cache/LICENSE.txt new file mode 100644 index 00000000..b1c2c97b --- /dev/null +++ b/standalone/deps/cache/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2015 PHP Framework Interoperability Group + +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/standalone/deps/cache/README.md b/standalone/deps/cache/README.md new file mode 100644 index 00000000..9855a318 --- /dev/null +++ b/standalone/deps/cache/README.md @@ -0,0 +1,12 @@ +Caching Interface +============== + +This repository holds all interfaces related to [PSR-6 (Caching Interface)][psr-url]. + +Note that this is not a Caching implementation of its own. It is merely interfaces that describe the components of a Caching mechanism. + +The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist. + +[psr-url]: https://www.php-fig.org/psr/psr-6/ +[package-url]: https://packagist.org/packages/psr/cache +[implementation-url]: https://packagist.org/providers/psr/cache-implementation diff --git a/standalone/deps/cache/composer.json b/standalone/deps/cache/composer.json new file mode 100644 index 00000000..aaee3858 --- /dev/null +++ b/standalone/deps/cache/composer.json @@ -0,0 +1,28 @@ +{ + "name": "psr/cache", + "description": "Common interface for caching libraries", + "keywords": ["psr", "psr-6", "cache"], + "license": "MIT", + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "require": { + "php": ">=8.0.0" + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "suggest": { + "fig/cache-util": "Provides some useful PSR-6 utilities" + }, + "extra": { + "branch-alias": { + "dev-master": "3.0.x-dev" + } + } +} diff --git a/standalone/deps/cache/src/CacheException.php b/standalone/deps/cache/src/CacheException.php new file mode 100644 index 00000000..bb785f46 --- /dev/null +++ b/standalone/deps/cache/src/CacheException.php @@ -0,0 +1,10 @@ +