Giter VIP home page Giter VIP logo

Comments (10)

michalbundyra avatar michalbundyra commented on July 25, 2024

@remicollet I've found it when working on #141 and fixed it in d19e3ac

from zend-cache.

remicollet avatar remicollet commented on July 25, 2024

@webimpress great thanks for the pointer. Indeed, now works as expected

Fedora QA is now ALL green for all zend-* package :)

from zend-cache.

roelvanduijnhoven avatar roelvanduijnhoven commented on July 25, 2024

This issue is still active, and prevents one from using zend-cache on PHP 7.2.

from zend-cache.

C0DE8 avatar C0DE8 commented on July 25, 2024

This issue is still active [2018-03-22], and prevents from using zend-cache with with "PatternFactory::factory" on PHP 7.2.

For now my (patch) solution is:

Zend Framework 3 [zendframework/zend-cache 2.7.2]
Date: 2018-03-22 (10:10)
PHP: 7.2.3-1+0~20180306120016.19
File: /vendor/zendframework/zend-cache/src/PatternPluginManager.php
Row: 77

search:

public function get($plugin, array $options = [], $usePeeringServiceManagers = true)
{

replace

public function get($plugin, array $options = null)
{
    $usePeeringServiceManagers = true;
    if (3 === func_num_args()) {
        $usePeeringServiceManagers = (bool) func_get_arg(3);
    }

This works for me and do not break the functionallity. Although there are better solutions. ;-)

@zfbot Please fix this issue.
@remicollet Please fix this issue.

THX

from zend-cache.

michalbundyra avatar michalbundyra commented on July 25, 2024

Fixed in #141, see: d19e3ac

from zend-cache.

C0DE8 avatar C0DE8 commented on July 25, 2024

@webimpress I'm, sorry, but how do I get this fixed version?

composer update

does not update "zendframework/zend-cache" component.

Even if I set in composer.json (of my app):

"zendframework/zend-cache": "dev-master",

I do not get the new version.

from zend-cache.

michalbundyra avatar michalbundyra commented on July 25, 2024

@C0DE8 sorry, it's not merged yet... I just wanted to say thet the fix is prepared in my PR, but unfortunately it's not released :| You can use my PR if you want, just to test, but I wouldn't recommend to use it on live.

from zend-cache.

C0DE8 avatar C0DE8 commented on July 25, 2024

@webimpress ah ok :)

I'm on development, so I tried to use your "update" branch:

composer.json

repositories
{ "type": "vcs", "url": "https://github.com/webimpress/zend-cache.git" },
require
"webimpress/zend-cache": "dev-update",

Unfortunately I got an error:
c0de8__github_com__zendframework__zend-cache__issues_142__comopser_error_2018-03-22_1110

from zend-cache.

michalbundyra avatar michalbundyra commented on July 25, 2024

@C0DE8 use "zendframework/zend-cache": "dev-update" in require section, and in repositories section put:

{
    "type": "git",
    "url": "https://github.com/webimpress/zend-cache.git"
},

All should work. Let me know if you have any issue.

from zend-cache.

weierophinney avatar weierophinney commented on July 25, 2024

Fixed with #148; will release with 2.8.0 by end of week.

from zend-cache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.