cache
cache copied to clipboard
:handbag: Simple cache abstraction layer implementing PSR-16
``` $ composer phpstan > phpstan analyse lib tests Note: Using configuration file /home/phil/git/sabre-io/cache/phpstan.neon. ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Line lib/Apcu.php ------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 145 Return type (array|bool) of method Sabre\Cache\Apcu::setMultiple() should be covariant...
On PHP 7.3 it failed just today: ``` $ ./bin/phpunit --verbose --configuration tests/phpunit.xml.dist PHPUnit 7.5.20 by Sebastian Bergmann and contributors. Runtime: PHP 7.3.14 with Xdebug 2.9.1 Configuration: /home/travis/build/sabre-io/cache/tests/phpunit.xml.dist .............................FF.........S........................ 65...
at the moment, only `memcached` is supported in terms of caching servers... I would like to use redis, too.
The APC adapter doesnt implement the interface correctly, it returns directly the result of apcu_store even though the interface calls for boolean result. Also it includes the trait MultipleTrait even...
Traversable type is converted into a array in userland which can be ineffecient for Iterators providing lots of elements. APCU supports a custom type which can be passed into the...
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. Release notes Sourced from phpunit/phpunit's releases. PHPUnit 11.2.9 Fixed #5887: Issue baseline generator does not correctly handle ignoring suppressed issues...
Updates the requirements on [psr/simple-cache](https://github.com/php-fig/simple-cache) to permit the latest version. Release notes Sourced from psr/simple-cache's releases. 3.0.0 Adds return types See the meta doc, section Errata for more details: https://www.php-fig.org/psr/psr-16/meta/...
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. Release notes Sourced from phpunit/phpunit's releases. PHPUnit 11.3.1 Changed Improved how objects are handled for some assertion failure messages How...
Try this in `cache` first just to see what happens. 1) phpunit 10 does not accept abstract classes for test code, ending with "Test". ``` There was 1 PHPUnit test...