Skip to content

Commit fceecef

Browse files
Merge branch '5.1' into 5.2
* 5.1: Update .php_cs.dist Apply "visibility_required" CS rule to constants
2 parents 61fdc07 + 9c4f702 commit fceecef

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

Dumper/PlantUmlDumper.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ class PlantUmlDumper implements DumperInterface
3131
private const INITIAL = '<<initial>>';
3232
private const MARKED = '<<marked>>';
3333

34-
const STATEMACHINE_TRANSITION = 'arrow';
35-
const WORKFLOW_TRANSITION = 'square';
36-
const TRANSITION_TYPES = [self::STATEMACHINE_TRANSITION, self::WORKFLOW_TRANSITION];
37-
const DEFAULT_OPTIONS = [
34+
public const STATEMACHINE_TRANSITION = 'arrow';
35+
public const WORKFLOW_TRANSITION = 'square';
36+
public const TRANSITION_TYPES = [self::STATEMACHINE_TRANSITION, self::WORKFLOW_TRANSITION];
37+
public const DEFAULT_OPTIONS = [
3838
'skinparams' => [
3939
'titleBorderRoundCorner' => 15,
4040
'titleBorderThickness' => 2,

TransitionBlocker.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
*/
1717
final class TransitionBlocker
1818
{
19-
const BLOCKED_BY_MARKING = '19beefc8-6b1e-4716-9d07-a39bd6d16e34';
20-
const BLOCKED_BY_EXPRESSION_GUARD_LISTENER = '326a1e9c-0c12-11e8-ba89-0ed5f89f718b';
21-
const UNKNOWN = 'e8b5bbb9-5913-4b98-bfa6-65dbd228a82a';
19+
public const BLOCKED_BY_MARKING = '19beefc8-6b1e-4716-9d07-a39bd6d16e34';
20+
public const BLOCKED_BY_EXPRESSION_GUARD_LISTENER = '326a1e9c-0c12-11e8-ba89-0ed5f89f718b';
21+
public const UNKNOWN = 'e8b5bbb9-5913-4b98-bfa6-65dbd228a82a';
2222

2323
private $message;
2424
private $code;

WorkflowEvents.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,44 +28,44 @@ final class WorkflowEvents
2828
/**
2929
* @Event("Symfony\Component\Workflow\Event\GuardEvent")
3030
*/
31-
const GUARD = 'workflow.guard';
31+
public const GUARD = 'workflow.guard';
3232

3333
/**
3434
* @Event("Symfony\Component\Workflow\Event\LeaveEvent")
3535
*/
36-
const LEAVE = 'workflow.leave';
36+
public const LEAVE = 'workflow.leave';
3737

3838
/**
3939
* @Event("Symfony\Component\Workflow\Event\TransitionEvent")
4040
*/
41-
const TRANSITION = 'workflow.transition';
41+
public const TRANSITION = 'workflow.transition';
4242

4343
/**
4444
* @Event("Symfony\Component\Workflow\Event\EnterEvent")
4545
*/
46-
const ENTER = 'workflow.enter';
46+
public const ENTER = 'workflow.enter';
4747

4848
/**
4949
* @Event("Symfony\Component\Workflow\Event\EnteredEvent")
5050
*/
51-
const ENTERED = 'workflow.entered';
51+
public const ENTERED = 'workflow.entered';
5252

5353
/**
5454
* @Event("Symfony\Component\Workflow\Event\CompletedEvent")
5555
*/
56-
const COMPLETED = 'workflow.completed';
56+
public const COMPLETED = 'workflow.completed';
5757

5858
/**
5959
* @Event("Symfony\Component\Workflow\Event\AnnounceEvent")
6060
*/
61-
const ANNOUNCE = 'workflow.announce';
61+
public const ANNOUNCE = 'workflow.announce';
6262

6363
/**
6464
* Event aliases.
6565
*
6666
* These aliases can be consumed by RegisterListenersPass.
6767
*/
68-
const ALIASES = [
68+
public const ALIASES = [
6969
GuardEvent::class => self::GUARD,
7070
LeaveEvent::class => self::LEAVE,
7171
TransitionEvent::class => self::TRANSITION,

0 commit comments

Comments
 (0)