-
Notifications
You must be signed in to change notification settings - Fork 9
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
Switched to PSR-15 middleware for Neos 7.0 #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't test this right now, but thanks a lot for putting so much effort into this It looks great by reading!
I just left a nitpick comment for now
@bwaidelich Thank you for your feedback! Just renamed it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you rename the files, too? since it doesn't seem so but I might got confused by the github ui
The file has also been renamed. What still needs to be rewritten are the tests. I have not yet updated them. |
|
||
/** | ||
* Test case for the BackendUriDimensionPresetDetector | ||
*/ | ||
class DetectContentSubgraphComponentTest extends FunctionalTestCase | ||
class DetectContentSubgraphMiddlewareTest extends FunctionalTestCase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File needs to be renamed accordingly
Tests/Unit/Http/ContentDimensionLinking/DimensionPresetLinkProcessorResolverTest.php
Show resolved
Hide resolved
ah right. It's just the test file that hasn't been renamed it seems |
I updated to 7.0 and it broke neos-dimensionresolver. Found this PR. Is this PR ready for merging? :) |
just checked if everything is renamed and it should be save to merge. |
Any updates on this? @bwaidelich |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no time to test atm, but this looks good by reading. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay as far as I can tell.
Let's merge 🤞 |
Could you please tag this commit, so composer will install it without whining about minimum stability requirements :D ? |
Just updated my fork to Neos 7.0 (the one with the resolutionHost feature #3) - It may be helpful to apply the changes here as well.