-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
!!! TASK: Remove deprecated code #2262
Conversation
Related: #2172
Related draft PR #2181 |
Draft PR can be closed in favor of this - I don't mind :) |
@sorenmalling I'm sorry, I wasn't aware of your pr. will check tomorrow! |
I believe it's mostly the same :-) |
How did the verdict on removal of Component code go? |
Compared to https://github.com/neos/flow-development-collection/pull/2181/files I can see we do not remove ex. PsrSystemLoggerInterface? |
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.
There is documentation that needs to be updated (on generic persistence, probably more…)
How do you mean? That was removed with #2019 (and we still have to smoothen the bumps with #2258)
Good point, I missed that one when I compared the two (#2181 (comment)).
True that.. @sorenmalling @kdambekalns Thanks for your feedback, I'll prepare a follow-up |
Removes `HttpRequestHandlerInterface::getHttpResponse()` and adjusts the method in the `RequestHandler` implementation such that it throws an exception when called in order to make it easier for developers to adjust their code.
Update: The Psr Logger interfaces have been removed with #2134, that's why they don't appear in the diff :) |
Looking at the documentation I found a lot of outdated examples and code.
It seems like (apart from the CGL tweaks mentioned above) it's only the generic persistence part that is affected. |
@kdambekalns could you remove your -1 if you agree with the current version? |
This reverts commit 21b9e48.
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 good now…
D'oh, that was |
We could also strip out the old autoloader instead of #2288, but TBH I never set the |
I prefer the way you went with #2288 now since it leave us with the mentioned escape hatch, thanks for that! |
Remove obsolete and deprecated PHP code:
Cli/Request::getMainRequest()
&Cli/Request::isMainRequest()
CLI requests can't be nested
Neos\Flow\Persistence\Generic\*
Neos\Flow\Persistence\Doctrine\*
classes.generic persistence is dead, long live generic persistence! (and thanks to @kdambekalns for spending million of minutes and brain cells on this)
Neos\Flow\Security\Cryptography\SaltedMd5HashingStrategy
ObjectAccess::instantiateClass()
new $className(...$arguments)
can be used insteadHttpRequestHandlerInterface
/HttpRequestHandler::getHttpResponse()
Related: #2172