Skip to content

Commit

Permalink
Merge pull request #4858 from mhsdesign/task/removeReferencesToUnsupp…
Browse files Browse the repository at this point in the history
…ortedRequestTypeException

TASK: Remove references to `UnsupportedRequestTypeException`
  • Loading branch information
mhsdesign authored Feb 3, 2024
2 parents d45e946 + 5a143fc commit cd64ddf
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions Neos.Media.Browser/Classes/Controller/AssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use Neos\Flow\Mvc\Exception\ForwardException;
use Neos\Flow\Mvc\Exception\NoSuchArgumentException;
use Neos\Flow\Mvc\Exception\StopActionException;
use Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException;
use Neos\Flow\Mvc\View\JsonView;
use Neos\Flow\Mvc\View\ViewInterface;
use Neos\Flow\Package\PackageManager;
Expand Down Expand Up @@ -358,7 +357,6 @@ public function replaceAssetResourceAction(Asset $asset): void
* @param string $assetProxyIdentifier
* @return void
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function showAction(string $assetSourceIdentifier, string $assetProxyIdentifier): void
{
Expand Down Expand Up @@ -387,7 +385,6 @@ public function showAction(string $assetSourceIdentifier, string $assetProxyIden
* @param string $assetProxyIdentifier
* @return void
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function editAction(string $assetSourceIdentifier, string $assetProxyIdentifier): void
{
Expand Down Expand Up @@ -441,7 +438,6 @@ public function editAction(string $assetSourceIdentifier, string $assetProxyIden
* @param string $assetProxyIdentifier
* @param string $overviewAction
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function variantsAction(string $assetSourceIdentifier, string $assetProxyIdentifier, string $overviewAction): void
{
Expand Down Expand Up @@ -485,7 +481,6 @@ public function variantsAction(string $assetSourceIdentifier, string $assetProxy
* @param string $assetProxyIdentifier
* @param string $overviewAction
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function createVariantsAction(string $assetSourceIdentifier, string $assetProxyIdentifier, string $overviewAction): void
{
Expand Down
1 change: 0 additions & 1 deletion Neos.Media.Browser/Classes/Controller/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function indexAction($view = null, $sortBy = null, $sortDirection = null,
* @param AssetInterface $asset
* @return void
* @throws \Neos\Flow\Mvc\Exception\StopActionException
* @throws \Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException
*/
public function editAction(string $assetSourceIdentifier = null, string $assetProxyIdentifier = null, AssetInterface $asset = null): void
{
Expand Down
2 changes: 0 additions & 2 deletions Neos.Media/Classes/Controller/ThumbnailController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Mvc\Controller\ActionController;
use Neos\Flow\Mvc\Exception\StopActionException;
use Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException;
use Neos\Media\Domain\Model\Thumbnail;
use Neos\Media\Domain\Service\ThumbnailService;
use Neos\Media\Exception\ThumbnailServiceException;
Expand All @@ -38,7 +37,6 @@ class ThumbnailController extends ActionController
* @param Thumbnail $thumbnail
* @return void
* @throws StopActionException
* @throws UnsupportedRequestTypeException
* @throws ThumbnailServiceException
*/
public function thumbnailAction(Thumbnail $thumbnail)
Expand Down
3 changes: 0 additions & 3 deletions Neos.Neos/Classes/Controller/Backend/BackendController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
use Neos\Flow\I18n\Locale;
use Neos\Flow\Mvc\Controller\ActionController;
use Neos\Flow\Mvc\Exception\StopActionException;
use Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException;
use Neos\Flow\Mvc\Routing\Exception\MissingActionNameException;
use Neos\Flow\Package\Exception\UnknownPackageException;
use Neos\Flow\Persistence\Exception\IllegalObjectTypeException;
Expand Down Expand Up @@ -76,7 +75,6 @@ class BackendController extends ActionController
* @return void
* @throws MissingActionNameException
* @throws StopActionException
* @throws UnsupportedRequestTypeException
* @throws \Neos\Flow\Http\Exception
* @throws IllegalObjectTypeException
*/
Expand All @@ -97,7 +95,6 @@ public function indexAction(): void
* @throws \Neos\Cache\Exception
* @throws InvalidDataException
* @throws StopActionException
* @throws UnsupportedRequestTypeException
* @throws MissingActionNameException
* @throws SessionNotStartedException
* @throws \Neos\Neos\Exception
Expand Down
3 changes: 0 additions & 3 deletions Neos.Neos/Classes/Controller/Frontend/NodeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ class NodeController extends ActionController
* @param string $node Legacy name for backwards compatibility of route components
* @throws NodeNotFoundException
* @throws \Neos\Flow\Mvc\Exception\StopActionException
* @throws \Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException
* @throws \Neos\Flow\Mvc\Routing\Exception\MissingActionNameException
* @throws \Neos\Flow\Session\Exception\SessionNotStartedException
* @throws \Neos\Neos\Exception
Expand Down Expand Up @@ -184,7 +183,6 @@ public function previewAction(string $node): void
* @param string $node Legacy name for backwards compatibility of route components
* @throws NodeNotFoundException
* @throws \Neos\Flow\Mvc\Exception\StopActionException
* @throws \Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException
* @throws \Neos\Flow\Mvc\Routing\Exception\MissingActionNameException
* @throws \Neos\Flow\Session\Exception\SessionNotStartedException
* @throws \Neos\Neos\Exception
Expand Down Expand Up @@ -273,7 +271,6 @@ protected function overrideViewVariablesFromInternalArguments()
* @param NodeAddress $nodeAddress
* @throws NodeNotFoundException
* @throws \Neos\Flow\Mvc\Exception\StopActionException
* @throws \Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException
*/
protected function handleShortcutNode(NodeAddress $nodeAddress, ContentRepository $contentRepository): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Mvc\Controller\ActionController;
use Neos\Flow\Mvc\Exception\StopActionException;
use Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException;
use Neos\Flow\Mvc\View\ViewInterface;
use Neos\FluidAdaptor\View\TemplateView;
use Neos\Media\Domain\Model\AssetSource\AssetProxy\AssetProxyInterface;
Expand Down Expand Up @@ -143,7 +142,6 @@ public function indexAction(string $searchTerm = '', int $limit = 10): void
* @param string $assetProxyIdentifier
* @return void
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function showAction(string $assetSourceIdentifier, string $assetProxyIdentifier): void
{
Expand All @@ -168,7 +166,6 @@ public function showAction(string $assetSourceIdentifier, string $assetProxyIden
* @return void
* @throws AssetSourceServiceException
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function importAction(string $assetSourceIdentifier, string $assetProxyIdentifier): void
{
Expand Down
2 changes: 0 additions & 2 deletions Neos.Neos/Classes/Controller/Service/AssetsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Mvc\Controller\ActionController;
use Neos\Flow\Mvc\Exception\StopActionException;
use Neos\Flow\Mvc\Exception\UnsupportedRequestTypeException;
use Neos\Flow\Mvc\View\ViewInterface;
use Neos\FluidAdaptor\View\TemplateView;
use Neos\Media\Domain\Repository\AssetRepository;
Expand Down Expand Up @@ -100,7 +99,6 @@ public function indexAction($searchTerm = ''): void
*
* @param string $identifier Specifies the asset to look up
* @throws StopActionException
* @throws UnsupportedRequestTypeException
*/
public function showAction($identifier): void
{
Expand Down

0 comments on commit cd64ddf

Please sign in to comment.