Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Apr 10, 2022
1 parent b4c2964 commit da678a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/Entity/Model/Revision.php
Expand Up @@ -80,7 +80,7 @@ public function validatePlacesInTransitions(ExecutionContextInterface $context,
*/
public function validateStartTransitions(ExecutionContextInterface $context, $payload): void
{
if (count($this->transitions) === 0) {
if (0 === count($this->transitions)) {
return;
}

Expand Down
5 changes: 0 additions & 5 deletions tests/Model/Generator/StateTest.php
Expand Up @@ -3,14 +3,9 @@
namespace Tienvx\Bundle\MbtBundle\Tests\Model\Generator;

use PHPUnit\Framework\TestCase;
use SingleColorPetrinet\Model\Color;
use SingleColorPetrinet\Model\ColorInterface;
use Tienvx\Bundle\MbtBundle\Exception\OutOfRangeException;
use Tienvx\Bundle\MbtBundle\Model\Bug\Step;
use Tienvx\Bundle\MbtBundle\Model\Bug\StepInterface;
use Tienvx\Bundle\MbtBundle\Model\Generator\State;
use Tienvx\Bundle\MbtBundle\Model\Generator\StateInterface;
use Tienvx\Bundle\MbtBundle\Model\Model\Revision\CommandInterface;

/**
* @covers \Tienvx\Bundle\MbtBundle\Model\Generator\State
Expand Down

0 comments on commit da678a8

Please sign in to comment.