@@ -6,14 +6,14 @@ |
||
| 6 | 6 | |
| 7 | 7 | use Doctrine\Common\Persistence\ManagerRegistry; |
| 8 | 8 | use Doctrine\ORM\EntityManager; |
| 9 | -use Doctrine\ORM\OptimisticLockException; |
|
| 10 | 9 | use Doctrine\ORM\ORMException; |
| 10 | +use Doctrine\ORM\OptimisticLockException; |
|
| 11 | 11 | use Doctrine\ORM\QueryBuilder; |
| 12 | +use Loevgaard\DandomainConsignmentBundle\Exception\InvalidBarCodeException; |
|
| 13 | +use Loevgaard\DandomainConsignmentBundle\Exception\InvalidVendorNumberException; |
|
| 12 | 14 | use Loevgaard\DandomainConsignment\Entity\Generated\ReportInterface; |
| 13 | 15 | use Loevgaard\DandomainConsignment\Entity\Report; |
| 14 | 16 | use Loevgaard\DandomainConsignment\Repository\ReportRepository; |
| 15 | -use Loevgaard\DandomainConsignmentBundle\Exception\InvalidBarCodeException; |
|
| 16 | -use Loevgaard\DandomainConsignmentBundle\Exception\InvalidVendorNumberException; |
|
| 17 | 17 | use Loevgaard\DandomainFoundation\Entity\Generated\ManufacturerInterface; |
| 18 | 18 | use Loevgaard\DandomainStock\Entity\Generated\StockMovementInterface; |
| 19 | 19 | use Loevgaard\DandomainStock\Entity\StockMovement; |
@@ -56,6 +56,10 @@ discard block |
||
| 56 | 56 | return $command; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param string $start |
|
| 61 | + * @param string $end |
|
| 62 | + */ |
|
| 59 | 63 | private function execute(ReportCommand $command, $manufacturer = 'manufacturer', $start = null, $end = null): CommandTester |
| 60 | 64 | { |
| 61 | 65 | $application = new Application(); |
@@ -83,7 +87,7 @@ discard block |
||
| 83 | 87 | } |
| 84 | 88 | |
| 85 | 89 | /** |
| 86 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerInterface |
|
| 90 | + * @return null|ContainerInterface |
|
| 87 | 91 | */ |
| 88 | 92 | private function getContainer() |
| 89 | 93 | { |