Coder Social home page Coder Social logo

Comments (9)

Ocramius avatar Ocramius commented on June 22, 2024

Does the 3.15 version work on PHP 8.0 and 8.1?

from mezzio.

froschdesign avatar froschdesign commented on June 22, 2024

Seems like currently DI is broken for some laminas packages

But this is PHP-DI, not Mezzio or Laminas.

from mezzio.

froschdesign avatar froschdesign commented on June 22, 2024

@Ocramius
Is PHP-DI officially supported by Mezzio?

from mezzio.

kaktusas2598 avatar kaktusas2598 commented on June 22, 2024

Just reverted back to PHP 8.1 and getting the same error, not sure about PHP-DI, it was always working up until this point and I'm not even sure this is a problem with PHP-DI itself

from mezzio.

froschdesign avatar froschdesign commented on June 22, 2024

I found it: the integration of PHP-DI is done by elie29/zend-di-config

from mezzio.

kaktusas2598 avatar kaktusas2598 commented on June 22, 2024

@froschdesign We are not using this package, do you think this would help me? Is there any reason why we didn't need it before

from mezzio.

froschdesign avatar froschdesign commented on June 22, 2024

We are not using this package, do you think this would help me? Is there any reason why we didn't need it before

If you use the installer to create a application and choose PHP-DI as dependency injection container then elie29/zend-di-config will be used to provide this support.
I don't know how you started/installed your application and how PHP-DI can be used with or without zend-di-config.

from mezzio.

kaktusas2598 avatar kaktusas2598 commented on June 22, 2024

Ok, we finally got it working, all I had to do is open our di config for Mezzio and change this definition:
RequestHandlerRunner::class
to
RequestHandlerRunnerInterface::class.

Still not sure why it was working before though

from mezzio.

froschdesign avatar froschdesign commented on June 22, 2024

@kaktusas2598
Thanks for your feedback! 👍🏻

from mezzio.

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.