Coder Social home page Coder Social logo

Is this library alive? about framework HOT 6 CLOSED

func0der avatar func0der commented on June 15, 2024
Is this library alive?

from framework.

Comments (6)

jimbonator avatar jimbonator commented on June 15, 2024 7

We use AspectMock for unit testing, and have run into a few problems migrating from PHP 7.4 to PHP 8.1. I'm trying to piece together what's needed for AOP to work in that later version.

It looks to me the current situation is:

  • Ticket #466 is for migrating goaop/framework to PHP 8. This pull request appears to be a start for that.
  • (That said, I've been able to use goaop/framework w/o any changes in our PHP-Unit/AspectMock test suite. The only thing I had to do was force Composer to ignore the PHP version requirement, see here for more information.)
  • goaop/parser-reflection needs to be upgraded to work with PHP 8.x. I can't find a ticket in that repo for it. There are pull requests for that, but I don't see any progress on them. I've submitted my own pull request that makes the bare minimum of code changes for the package to run under PHP 8.
  • However, the discussion in this ticket and #466 seems to indicate there's a desire to drop parser-reflection in favor of BetterReflection, although there's some work required to integrate the switch.

Would it be feasible to update parser-reflection for now, and minimally maintain it into the future, until the BR integration can be completed? It seems like this would be the path of least resistance, and give projects depending on goaop a bridge forward.

from framework.

WalterWoshid avatar WalterWoshid commented on June 15, 2024 2

I am currently refactoring the library to support PHP 8.0. See WalterWoshid#1 for progress information

from framework.

WalterWoshid avatar WalterWoshid commented on June 15, 2024 1

Done #486

from framework.

lisachenko avatar lisachenko commented on June 15, 2024

Hello, @func0der! Thank you for reaching me out. Indeed, I'm not investing too much time now to my OSS projects. I had some troubles with my health and also busy at my main work, thus no free time to keep development at previous level.

I really would like to have PHP>=8 support added to my framework and resolve existing issues, but I know that it will take a lot of my time just to migrate to BetterReflection first (it isn't directly compatible with my library - I've checked this already) and then to make framework supporting PHP8 features too.

So, if you can somehow help me with open tickets - it would be awesome. I really would like to have a co-maintainer on this project which can take care about modern development and open tickets/issues. Previously only me, @TheCelavi and @fduch were able able to work on framework's core as it wasn't trivial at all.

I can't promise anything, but want to have PHP8 support added. All core features are stable and don't require too much changes, only code reflection/generation part requires some time to be rewritten.

from framework.

TheCelavi avatar TheCelavi commented on June 15, 2024

@lisachenko what happened with new engine for AOP?

from framework.

lisachenko avatar lisachenko commented on June 15, 2024

@TheCelavi new engine isn’t stable and I don’t want switch framework to something which can not be 100% stable, as this will affect existing users of framework. Thus, better to keep current userland version of AOP

from framework.

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.