Skip to content
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

!!! FEATURE: Dispatcher psr overhaul #3311

Merged
merged 41 commits into from
Sep 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
d94562f
!!!FEATURE: Clearer controller pattern
kitsunet Nov 11, 2023
8ee71e9
Controller cleanup
kitsunet Dec 26, 2023
0fcf522
Style and suggestions cleanup
kitsunet Dec 26, 2023
e3fb34b
Tests for SimpleActionController
kitsunet Dec 26, 2023
b12f1df
Fix AjaxWidget dispatching to use new StopActionException::response
kitsunet Dec 27, 2023
3360130
Correct style issues
kitsunet Dec 27, 2023
0689c78
Fix spelling error
kitsunet Dec 28, 2023
465c80b
Merge remote-tracking branch 'origin/9.0' into feature/actioncontroll…
mhsdesign Jan 25, 2024
88f43d5
TASK: Adjust typos and doc of `ControllerInterface`
mhsdesign Jan 25, 2024
03662a7
TASK: Fix `RestController::redirectToUri`
mhsdesign Jan 25, 2024
3df0dbd
Update Neos.Flow/Tests/Functional/Http/Fixtures/Controller/FooControl…
kitsunet Jan 26, 2024
57d8995
TASK: Update `ControllerInterface::processRequest` doc
mhsdesign Jan 25, 2024
f3ba560
TASK: Fix `FooController` test
mhsdesign Jan 26, 2024
e3cdfb4
!!! TASK: Separate `ForwardException` from `StopActionException`
mhsdesign Jan 25, 2024
d507942
!!! TASK: Adjust Signals Dispatcher `beforeControllerInvocation` and …
mhsdesign Jan 26, 2024
c1ce1bc
TASK: Set fix $code of `StopActionException`
mhsdesign Jan 26, 2024
18da350
TASK: Adjust docs of MVC Control flow exceptions
mhsdesign Jan 26, 2024
73d7214
TASK: Rename factory methods of MVC Control flow exceptions
mhsdesign Jan 26, 2024
a59bdaa
Merge pull request #3 from mhsdesign/test-can-i-push-to-christian-que…
kitsunet Jan 26, 2024
554aa08
SpecialResponses become final
kitsunet Jan 27, 2024
82caa27
TASK: Revert introduction of `SimpleActionController`
mhsdesign Feb 3, 2024
c96fd84
TASK: Revert introduction of `SpecialResponsesSupport`
mhsdesign Feb 3, 2024
e540eb3
TASK: Fix phpstan
mhsdesign Feb 3, 2024
52cafdd
Merge pull request #3232 from kitsunet/feature/actioncontroller-simpl…
mhsdesign Feb 6, 2024
d6d083d
TASK: Avoid accessing "global" request, response and arguments in act…
mhsdesign Jan 29, 2024
b959935
WIP: Experiment prefer PsrResponse over ActionResponse
mhsdesign Jan 29, 2024
144a06f
WIP: Adjust tests to use psr response and not action response
mhsdesign Jan 29, 2024
09c24f5
FEATURE: Allow `*Action` to return psr response
mhsdesign Jan 29, 2024
6cc4787
TASK: Adjust `StopActionException::createForResponse` to use psr resp…
mhsdesign Feb 6, 2024
6c13cae
TASK: Properly deprecate ActionResponse
mhsdesign Feb 6, 2024
c3a4a67
TASK: Avoid use of ActionResponse in controller
mhsdesign Feb 6, 2024
09e0dae
TASK: Prefer `new BufferStream()` over `streamFor('')`
mhsdesign Mar 2, 2024
3d32ace
TASK: Widget view helper explicitly merge things
mhsdesign Mar 2, 2024
6229f94
TASK: Allow still to return an `ActionResponse` from a view
mhsdesign Mar 3, 2024
415584b
Merge pull request #3294 from mhsdesign/task/makeActionResponseObsolete
mhsdesign Mar 3, 2024
43964e1
Merge remote-tracking branch 'origin/9.0' into feature/dispatcher-ret…
mhsdesign Mar 3, 2024
0002e5e
TASK: Type $controllerArguments correctly
mhsdesign Mar 3, 2024
f4c5479
Merge remote-tracking branch 'origin/9.0' into feature/dispatcher-ret…
mhsdesign Apr 24, 2024
066748a
TASK: Remove `Neos\Flow\Http\RequestHandler::getHttpResponse`
mhsdesign May 21, 2024
096c9ba
Remove unused use statements
kitsunet Sep 12, 2024
b21bd4b
Merge remote-tracking branch 'origin/9.0' into feature/dispatcher-ret…
mhsdesign Sep 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TASK: Fix phpstan
mhsdesign committed Feb 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit e540eb3354ab363bdc7dc80d961fc9d7b670ad0d
3 changes: 1 addition & 2 deletions Neos.Flow/Classes/Mvc/Controller/AbstractController.php
Original file line number Diff line number Diff line change
@@ -236,12 +236,11 @@ protected function forward(string $actionName, string $controllerName = null, st
* Request is directly transfered to the other action / controller
*
* @param ActionRequest $request The request to redirect to
* @return void
* @throws ForwardException
* @see redirectToRequest()
* @api
*/
protected function forwardToRequest(ActionRequest $request)
protected function forwardToRequest(ActionRequest $request): never
{
$nextRequest = clone $request;
throw ForwardException::createForNextRequest($nextRequest, '');