From 07991a1c276004bf831e57b89a726a3bfbec11fa Mon Sep 17 00:00:00 2001 From: Piotr Antosik Date: Thu, 16 Apr 2015 22:30:10 +0200 Subject: [PATCH] not require FOSUserBundle fix some typos --- Model/Payment.php | 3 +-- Resources/doc/index.md | 2 +- composer.json | 5 ++--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Model/Payment.php b/Model/Payment.php index f8ed82b..cfc5c1d 100644 --- a/Model/Payment.php +++ b/Model/Payment.php @@ -3,7 +3,6 @@ namespace AntQa\Bundle\PayUBundle\Model; use Doctrine\ORM\Mapping as ORM; -use FOS\UserBundle\Model\User; use Symfony\Component\Security\Core\User\UserInterface; /** @@ -52,7 +51,7 @@ abstract class Payment protected $createdAt; /** - * @var User|null + * @var UserInterface|null */ protected $user; diff --git a/Resources/doc/index.md b/Resources/doc/index.md index d451898..a207d59 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -53,7 +53,7 @@ use AntQa\Bundle\PayUBundle\Model\Payment as PaymentModel; * Class Payment * * @ORM\Entity() - * @ORM\Table(name="sc_payment") + * @ORM\Table(name="payments") */ class Payment extends PaymentModel { diff --git a/composer.json b/composer.json index e465c79..b41b27c 100644 --- a/composer.json +++ b/composer.json @@ -19,10 +19,9 @@ "symfony/twig-bundle": "~2.3", "symfony/options-resolver": "~2.3", "symfony/property-access": "~2.3", - "doctrine/doctrine-bundle": "*", + "doctrine/doctrine-bundle": "~1.2", "doctrine/orm": "~2.2,>=2.2.3", - "openpayu/openpayu": ">=2.1.0", - "friendsofsymfony/user-bundle": "*" + "openpayu/openpayu": "~2.1.0" }, "require-dev": { "symfony/yaml": "~2.3"