Comments (4)
Oh lordy, looks like namespaces are broken too:
$ TESTS_ZEND_CACHE_XCACHE_ENABLED=1 phpunit test/Storage/Adapter/XCacheTest.php
PHPUnit 4.8.9 by Sebastian Bergmann and contributors.
.................S.......F.FF...............................S.... 65 / 72 ( 90%)
..SSS..
Time: 19.46 seconds, Memory: 16.50Mb
There were 3 failures:
1) ZendTest\Cache\Storage\Adapter\XCacheTest::testGetMetadatasWithEmptyNamespace
Failed asserting that 0 is identical to 2.
/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:391
/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:407
2) ZendTest\Cache\Storage\Adapter\XCacheTest::testSetGetHasAndRemoveItemWithoutNamespace
Failed asserting that null matches expected 'value'.
/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:423
3) ZendTest\Cache\Storage\Adapter\XCacheTest::testSetGetHasAndRemoveItemsWithoutNamespace
Failed asserting that an array has the key 'key1'.
/Users/matt/www/httpd/zend-cache/test/Storage/Adapter/CommonAdapterTest.php:446
from zend-cache.
Ohhh it looks like they removed the serializing support and they have problems keeping the extension up-to-date. (Could be because of less of interest as with opcache and apcu exists a much more common approach)
Can you add a PR as hotfix and I will think about how to make the tests run in travis.
In my opinion we could also think about deprecating this adapter.
from zend-cache.
WTF Why is that a fatal error :(
from zend-cache.
Got me there ;)
Is #59 OK or would you rather I did a new hotfix/58 PR with just the fixes for storing objects and namespaces?
from zend-cache.
Related Issues (20)
- Why make Zend\Cache\Storage\Adapter\Filesystem only support string data types? HOT 2
- Add PHP 7.2 support, drop HHVM HOT 1
- ZF2 Memcached PHP7 backward incompatible change HOT 2
- Invalid prototype (PHP 7.2) HOT 10
- StorageFactory Not Reading "cache_dir" Setting HOT 2
- memcached doesn't work with plugin phpSerialize HOT 2
- When 2.8 will be released? HOT 10
- PSR-16 support: serialization using plugin HOT 2
- PSR-16 support: clear by namespace when appropriate HOT 1
- PSR-16 support: prevent concurrent regression when calling delete HOT 3
- ZendCache 2.8 sets $success on getItem if there is a null response HOT 1
- PSR-16 and blackhole not possible HOT 6
- Missing docs about APCU storage HOT 1
- SimpleCacheDecorator and providesPerItemTtl leads undocumented behaviors HOT 4
- StorageInterface::hasItem issue with ext-redis 4.0.1+ HOT 1
- [ZF3] Remove StorageFactory and PatternFactory HOT 2
- Make it possible to decorate cache adapters with PSR6/PSR16 decorators through configuration HOT 1
- Typo in variable for ExtMongoDbResourceManager adapter makes passing db a no-op HOT 3
- SimpleCacheDecorator Cache gets deleted after creation
- Redis::delete is deprecated HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zend-cache.