Skip to content

Commit

Permalink
Merge branch '4.4' into 5.1
Browse files Browse the repository at this point in the history
* 4.4:
  Update .php_cs.dist
  Apply "visibility_required" CS rule to constants
  • Loading branch information
nicolas-grekas committed Dec 8, 2020
2 parents 092d0d1 + c7ec912 commit 9c4f702
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions Dumper/PlantUmlDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class PlantUmlDumper implements DumperInterface
private const INITIAL = '<<initial>>';
private const MARKED = '<<marked>>';

const STATEMACHINE_TRANSITION = 'arrow';
const WORKFLOW_TRANSITION = 'square';
const TRANSITION_TYPES = [self::STATEMACHINE_TRANSITION, self::WORKFLOW_TRANSITION];
const DEFAULT_OPTIONS = [
public const STATEMACHINE_TRANSITION = 'arrow';
public const WORKFLOW_TRANSITION = 'square';
public const TRANSITION_TYPES = [self::STATEMACHINE_TRANSITION, self::WORKFLOW_TRANSITION];
public const DEFAULT_OPTIONS = [
'skinparams' => [
'titleBorderRoundCorner' => 15,
'titleBorderThickness' => 2,
Expand Down
6 changes: 3 additions & 3 deletions TransitionBlocker.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
*/
final class TransitionBlocker
{
const BLOCKED_BY_MARKING = '19beefc8-6b1e-4716-9d07-a39bd6d16e34';
const BLOCKED_BY_EXPRESSION_GUARD_LISTENER = '326a1e9c-0c12-11e8-ba89-0ed5f89f718b';
const UNKNOWN = 'e8b5bbb9-5913-4b98-bfa6-65dbd228a82a';
public const BLOCKED_BY_MARKING = '19beefc8-6b1e-4716-9d07-a39bd6d16e34';
public const BLOCKED_BY_EXPRESSION_GUARD_LISTENER = '326a1e9c-0c12-11e8-ba89-0ed5f89f718b';
public const UNKNOWN = 'e8b5bbb9-5913-4b98-bfa6-65dbd228a82a';

private $message;
private $code;
Expand Down
14 changes: 7 additions & 7 deletions WorkflowEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,37 +20,37 @@ final class WorkflowEvents
/**
* @Event("Symfony\Component\Workflow\Event\GuardEvent")
*/
const GUARD = 'workflow.guard';
public const GUARD = 'workflow.guard';

/**
* @Event("Symfony\Component\Workflow\Event\AnnounceEvent")
*/
const ANNOUNCE = 'workflow.announce';
public const ANNOUNCE = 'workflow.announce';

/**
* @Event("Symfony\Component\Workflow\Event\CompletedEvent")
*/
const COMPLETED = 'workflow.completed';
public const COMPLETED = 'workflow.completed';

/**
* @Event("Symfony\Component\Workflow\Event\EnterEvent")
*/
const ENTER = 'workflow.enter';
public const ENTER = 'workflow.enter';

/**
* @Event("Symfony\Component\Workflow\Event\EnteredEvent")
*/
const ENTERED = 'workflow.entered';
public const ENTERED = 'workflow.entered';

/**
* @Event("Symfony\Component\Workflow\Event\LeaveEvent")
*/
const LEAVE = 'workflow.leave';
public const LEAVE = 'workflow.leave';

/**
* @Event("Symfony\Component\Workflow\Event\TransitionEvent")
*/
const TRANSITION = 'workflow.transition';
public const TRANSITION = 'workflow.transition';

private function __construct()
{
Expand Down

0 comments on commit 9c4f702

Please sign in to comment.