-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Step 1] Bump requirement to PHP 8.2 and parser-reflection 4.0.0-RC1 #492
Conversation
@lisachenko there are 2 errors and 5 failures test left, It seems somehow cache not put into file, could you take a look on it? Thank you.
|
@lisachenko I debugged cache warmer, and it seems got deprecated notices:
|
It is very easy, just follow https://github.com/goaop/framework?tab=readme-ov-file#step-0-optional-try-demo-examples-in-the-framework (but you can also just simply run the built-in PHP web server on 8080 port and point it to the demos/ folder and then open localhost:8080 in your browser (or even put breakpoints in demos/ folder, etc) |
|
With my current available time |
@lisachenko it is mergeable? |
Not yet, need to clean a little bit first the |
@samsonasik FYI: During clean-up yesterday, I've identified serious logic break inside the I'm trying to fix issues with value resolver now. |
@samsonasik @lisachenko very happy for there is something happening, I really enjoy with aspect-mock and glad to use it with newest php versions but see that is depends on this package. Thank you for your work, guys! |
@samsonasik Here we go, this is starting point now, all main dependencies are looking good now to create something good on top of this. Tests partially broken now, but at least all internal part now works as expected. I might join this PR later, but can't promise if it will be quick enough, because |
PHP8.0 has support for native Reflection Attributes, thus usage of annotations were removed completely
PHP8.0 Uses native attributes instead of emulated annotations. Go! AOP Adopts this approach too and switches to the usage of attributes. Replace all Go\Lang\Annotation annotations with relevant Go\Lang\Attribute attributes.
A new inspection was created. |
Merged, with support for attributes instead of annotations |
Thank you @lisachenko for taking care of it 🙏 |
@lisachenko here the step 1 PR to upgrade to php 8.2 and upgrade parser-reflection to 4.0.0-RC1