Merge branch 'develop'
This commit is contained in:
commit
2e10a9450f
5 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace DigiComp\Sequence\Command;
|
namespace DigiComp\Sequence\Command;
|
||||||
|
|
||||||
use DigiComp\Sequence\Service\SequenceGenerator;
|
use DigiComp\Sequence\Service\SequenceGenerator;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace DigiComp\Sequence\Domain\Model;
|
namespace DigiComp\Sequence\Domain\Model;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace DigiComp\Sequence\Service;
|
namespace DigiComp\Sequence\Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace DigiComp\Sequence\Service;
|
namespace DigiComp\Sequence\Service;
|
||||||
|
|
||||||
use DigiComp\Sequence\Domain\Model\Insert;
|
use DigiComp\Sequence\Domain\Model\Insert;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace DigiComp\Sequence\Tests\Functional;
|
namespace DigiComp\Sequence\Tests\Functional;
|
||||||
|
|
||||||
use DigiComp\Sequence\Service\SequenceGenerator;
|
use DigiComp\Sequence\Service\SequenceGenerator;
|
||||||
|
@ -27,8 +28,7 @@ class SequenceTest extends FunctionalTestCase
|
||||||
$pId = pcntl_fork();
|
$pId = pcntl_fork();
|
||||||
if ($pId) {
|
if ($pId) {
|
||||||
$pIds[] = $pId;
|
$pIds[] = $pId;
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
for ($j = 0; $j < 10; $j++) {
|
for ($j = 0; $j < 10; $j++) {
|
||||||
$sequenceGenerator->getNextNumberFor($sequenceGenerator);
|
$sequenceGenerator->getNextNumberFor($sequenceGenerator);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue