diff --git a/build/header_comment.txt b/build/header_comment.txt index 6d8d560..64d16f5 100644 --- a/build/header_comment.txt +++ b/build/header_comment.txt @@ -1,7 +1,7 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * * PHP version 7.4 * diff --git a/composer.json b/composer.json index 119e475..e61a102 100644 --- a/composer.json +++ b/composer.json @@ -1,16 +1,19 @@ { "name": "aviat/banker", "type": "library", - "description": "A caching library implementing PSR-6 (psr/cache)", + "description": "A caching library implementing PSR-6 (psr/cache) and PSR-16 (psr/simple-cache)", "keywords": [ "cache", "redis", "memcached", "psr-6", - "psr6" + "psr6", + "psr16", + "psr-16" ], "provide": { - "psr/cache": "1.0.1" + "psr/cache": "1.0.1", + "psr/simple-cache": "1.0.1" }, "autoload": { "psr-4": { @@ -23,14 +26,15 @@ } }, "require": { - "php": "^7.2", + "php": ">=7.4", "ext-json": "*", "predis/predis": "^1.1", "psr/log": "^1.0", - "psr/cache": "^1.0.1" + "psr/cache": "^1.0.1", + "psr/simple-cache": "^1.0.1" }, "require-dev": { - "ext-acpu": "*", + "ext-apcu": "*", "ext-memcached": "*", "consolidation/robo": "^2.0.0", "monolog/monolog": "^2.0.1", diff --git a/src/Driver/AbstractDriver.php b/src/Driver/AbstractDriver.php index a99fd1a..aa521c1 100644 --- a/src/Driver/AbstractDriver.php +++ b/src/Driver/AbstractDriver.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Driver/ApcuDriver.php b/src/Driver/ApcuDriver.php index 9d9e903..352ce6a 100644 --- a/src/Driver/ApcuDriver.php +++ b/src/Driver/ApcuDriver.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Driver/DriverInterface.php b/src/Driver/DriverInterface.php index 57a0c7b..cc0fab9 100644 --- a/src/Driver/DriverInterface.php +++ b/src/Driver/DriverInterface.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Driver/MemcachedDriver.php b/src/Driver/MemcachedDriver.php index b1ebda9..6a45e4f 100644 --- a/src/Driver/MemcachedDriver.php +++ b/src/Driver/MemcachedDriver.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Driver/NullDriver.php b/src/Driver/NullDriver.php index 874d67e..8541b0c 100644 --- a/src/Driver/NullDriver.php +++ b/src/Driver/NullDriver.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Driver/RedisDriver.php b/src/Driver/RedisDriver.php index ae01116..bd9631d 100644 --- a/src/Driver/RedisDriver.php +++ b/src/Driver/RedisDriver.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Exception/CacheException.php b/src/Exception/CacheException.php index db68059..cd494ba 100644 --- a/src/Exception/CacheException.php +++ b/src/Exception/CacheException.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Exception/InvalidArgumentException.php b/src/Exception/InvalidArgumentException.php index 2ef7e4d..b42eefc 100644 --- a/src/Exception/InvalidArgumentException.php +++ b/src/Exception/InvalidArgumentException.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Item.php b/src/Item.php index 4ede1ff..82b92b7 100644 --- a/src/Item.php +++ b/src/Item.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/ItemCollection.php b/src/ItemCollection.php index d10fe89..c787652 100644 --- a/src/ItemCollection.php +++ b/src/ItemCollection.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/LoggerTrait.php b/src/LoggerTrait.php index a83cec9..e5be0c0 100644 --- a/src/LoggerTrait.php +++ b/src/LoggerTrait.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Pool.php b/src/Pool.php index b1b5539..09af360 100644 --- a/src/Pool.php +++ b/src/Pool.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/src/Teller.php b/src/Teller.php index 8720e90..c5c626c 100644 --- a/src/Teller.php +++ b/src/Teller.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/Driver/ApcuDriverTest.php b/tests/Driver/ApcuDriverTest.php index 3feb21a..371567d 100644 --- a/tests/Driver/ApcuDriverTest.php +++ b/tests/Driver/ApcuDriverTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/Driver/DriverTestBase.php b/tests/Driver/DriverTestBase.php index 27b194f..71a3782 100644 --- a/tests/Driver/DriverTestBase.php +++ b/tests/Driver/DriverTestBase.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/Driver/MemcachedDriverTest.php b/tests/Driver/MemcachedDriverTest.php index 6e2b187..f3c9800 100644 --- a/tests/Driver/MemcachedDriverTest.php +++ b/tests/Driver/MemcachedDriverTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/Driver/NullDriverTest.php b/tests/Driver/NullDriverTest.php index d1e35e9..509c30d 100644 --- a/tests/Driver/NullDriverTest.php +++ b/tests/Driver/NullDriverTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/Driver/RedisDriverTest.php b/tests/Driver/RedisDriverTest.php index d34b343..4915215 100644 --- a/tests/Driver/RedisDriverTest.php +++ b/tests/Driver/RedisDriverTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/Friend.php b/tests/Friend.php index 9f5f34b..b84d4dd 100644 --- a/tests/Friend.php +++ b/tests/Friend.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/ItemCollectionTest.php b/tests/ItemCollectionTest.php index c57a85e..efe01ee 100644 --- a/tests/ItemCollectionTest.php +++ b/tests/ItemCollectionTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/ItemTest.php b/tests/ItemTest.php index 69d748b..1fbe9e5 100644 --- a/tests/ItemTest.php +++ b/tests/ItemTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/PoolTest.php b/tests/PoolTest.php index b82a574..0254a9b 100644 --- a/tests/PoolTest.php +++ b/tests/PoolTest.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker diff --git a/tests/TellerTest.php b/tests/TellerTest.php index 237b1f8..b935786 100644 --- a/tests/TellerTest.php +++ b/tests/TellerTest.php @@ -2,15 +2,15 @@ /** * Banker * - * A Caching library implementing psr/cache + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.1 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2018 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License - * @version 2.0.0 + * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker */ namespace Aviat\Banker\Tests; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index d5647fc..8bdc658 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,13 +2,13 @@ /** * Banker * - * A Caching library implementing psr/cache (PSR 6) + * A Caching library implementing psr/cache (PSR 6) and psr/simple-cache (PSR 16) * - * PHP version 7.2 + * PHP version 7.4 * * @package Banker * @author Timothy J. Warren - * @copyright 2016 - 2019 Timothy J. Warren + * @copyright 2016 - 2020 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License * @version 3.0.0 * @link https://git.timshomepage.net/timw4mail/banker