Skip to content

Commit

Permalink
Merge pull request #492 from malarzm/fix-routing-deprecations
Browse files Browse the repository at this point in the history
Use FQCN::method notation
  • Loading branch information
makasim authored Nov 4, 2019
2 parents 04a6aba + fb0e251 commit ea5555b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Resources/config/routing/authorize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_authorize_do" path="/payment/authorize/{payum_token}">
<default key="_controller">PayumBundle:Authorize:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\AuthorizeController::doAction</default>
</route>
</routes>
2 changes: 1 addition & 1 deletion Resources/config/routing/cancel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_cancel_do" path="/payment/cancel/{payum_token}">
<default key="_controller">PayumBundle:Cancel:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\CancelController::doAction</default>
</route>
</routes>
4 changes: 2 additions & 2 deletions Resources/config/routing/capture.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_capture_do_session" path="/payment/capture/session-token">
<default key="_controller">PayumBundle:Capture:doSessionToken</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\CaptureController::doSessionTokenAction</default>
</route>

<route id="payum_capture_do" path="/payment/capture/{payum_token}">
<default key="_controller">PayumBundle:Capture:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\CaptureController::doAction</default>
</route>
</routes>
4 changes: 2 additions & 2 deletions Resources/config/routing/notify.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_notify_do_unsafe" path="/payment/notify/unsafe/{gateway}">
<default key="_controller">PayumBundle:Notify:doUnsafe</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\NotifyController::doUnsafeAction</default>
</route>

<route id="payum_notify_do" path="/payment/notify/{payum_token}">
<default key="_controller">PayumBundle:Notify:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\NotifyController::doAction</default>
</route>
</routes>
2 changes: 1 addition & 1 deletion Resources/config/routing/payout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_payout_do" path="/payment/payout/{payum_token}">
<default key="_controller">PayumBundle:Payout:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\PayoutController::doAction</default>
</route>
</routes>
2 changes: 1 addition & 1 deletion Resources/config/routing/refund.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_refund_do" path="/payment/refund/{payum_token}">
<default key="_controller">PayumBundle:Refund:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\RefundController::doAction</default>
</route>
</routes>
2 changes: 1 addition & 1 deletion Resources/config/routing/sync.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

<routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
<route id="payum_sync_do" path="/payment/sync/{payum_token}">
<default key="_controller">PayumBundle:Sync:do</default>
<default key="_controller">Payum\Bundle\PayumBundle\Controller\SyncController::doAction</default>
</route>
</routes>

0 comments on commit ea5555b

Please sign in to comment.