Remove obsolete Number class and interface, tweak deps

This commit is contained in:
Paweł Jędrzejewski 2014-04-28 20:50:12 +02:00
parent 0b1bbba08f
commit ba693fa2e9
6 changed files with 9 additions and 60 deletions

View file

@ -2,11 +2,6 @@ imports:
- { resource: parameters.yml }
- { resource: security.yml }
- { resource: @SyliusCoreBundle/Resources/config/app/main.yml }
- { resource: @SyliusPaymentBundle/Resources/config/finite.yml }
- { resource: @SyliusShippingBundle/Resources/config/finite.yml }
- { resource: @SyliusOrderBundle/Resources/config/finite.yml }
- { resource: @SyliusInventoryBundle/Resources/config/finite.yml }
- { resource: @SyliusCoreBundle/Resources/config/finite.yml }
framework:
translator: { fallback: %sylius.locale% }

View file

@ -15,6 +15,7 @@ suites:
Registry : { namespace: Sylius, spec_path: src/Sylius/Component/Registry }
Resource : { namespace: Sylius, spec_path: src/Sylius/Component/Resource }
Settings : { namespace: Sylius, spec_path: src/Sylius/Component/Settings }
Sequence : { namespace: Sylius, spec_path: src/Sylius/Component/Sequence }
Shipping : { namespace: Sylius, spec_path: src/Sylius/Component/Shipping }
Taxation : { namespace: Sylius, spec_path: src/Sylius/Component/Taxation }
Taxonomy : { namespace: Sylius, spec_path: src/Sylius/Component/Taxonomy }
@ -34,6 +35,7 @@ suites:
ProductBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/ProductBundle }
PromotionBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/PromotionBundle }
ResourceBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/ResourceBundle }
SequenceBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/SequenceBundle }
SettingsBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/SettingsBundle }
ShippingBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/ShippingBundle }
TaxationBundle : { namespace: Sylius, spec_path: src/Sylius/Bundle/TaxationBundle }

View file

@ -2,6 +2,11 @@ imports:
- { resource: @SyliusCoreBundle/Resources/config/app/sylius.yml }
- { resource: @SyliusCoreBundle/Resources/config/app/payum.yml }
- { resource: @SyliusCoreBundle/Resources/config/app/cmf.yml }
- { resource: @SyliusPaymentBundle/Resources/config/finite.yml }
- { resource: @SyliusShippingBundle/Resources/config/finite.yml }
- { resource: @SyliusOrderBundle/Resources/config/finite.yml }
- { resource: @SyliusInventoryBundle/Resources/config/finite.yml }
- { resource: @SyliusCoreBundle/Resources/config/finite.yml }
doctrine_cache:
providers:

View file

@ -1,35 +0,0 @@
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Component\Order\Model;
class Number implements NumberInterface
{
protected $id;
protected $order;
public function getId()
{
return $this->id;
}
public function getOrder()
{
return $this->order;
}
public function setOrder(OrderInterface $order)
{
$this->order = $order;
return $this;
}
}

View file

@ -1,19 +0,0 @@
<?php
/*
* This file is part of the Sylius package.
*
* (c) Paweł Jędrzejewski
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sylius\Component\Order\Model;
interface NumberInterface
{
public function getId();
public function getOrder();
public function setOrder(OrderInterface $order);
}

View file

@ -22,7 +22,8 @@
"require": {
"php": ">=5.3.3",
"sylius/resource": "0.10.*@dev"
"sylius/resource": "0.10.*@dev",
"sylius/sequence": "0.10.*@dev"
},
"require-dev": {
"phpspec/phpspec": "~2.0"